string Title { get; set; }

robot_2Generated
code_blocksInput

Description

The Title property of the Editor.ToolBar class represents the title text displayed on the toolbar. This property is a string and can be used to get or set the title of the toolbar, providing a way to label or identify the toolbar within the editor interface.

Usage

To use the Title property, simply access it through an instance of the Editor.ToolBar class. You can assign a new string value to change the title or retrieve the current title by accessing the property.

Example

// Create a new instance of ToolBar
Editor.ToolBar myToolBar = new Editor.ToolBar();

// Set the title of the toolbar
myToolBar.Title = "Main Tools";

// Retrieve the title of the toolbar
string currentTitle = myToolBar.Title;

// Output the current title
// Note: Avoid using Console.WriteLine in s&box
// Instead, use appropriate UI or logging methods to display the title
// Example: Log.Info(currentTitle);