Overridden. Gets or sets the text that is displayed in the title bar of the Sidebar.

Syntax

public override string Text { get; set; }
Public Overrides Property Text() As String

Examples

Enter an introductory text for your TXTextControl.Windows.Forms.Sidebar.Text Property example here, or leave blank, if there is nothing to say.

TXTextControl.Windows.Forms.Sidebar sidebar = new TXTextControl.Windows.Forms.Sidebar();
sidebar.ShowPinButton = false;
sidebar.IsPinned = true;
sidebar.IsShown = false;
sidebar.IsSizable = false;
sidebar.ShowTitle = false; 
sidebar.TitleFont = new System.Drawing.Font("Times New Roman", 12 ); 
sidebar.Text = "mySidebarText"; // here, the Text property is set
Dim sidebar As TXTextControl.Windows.Forms.Sidebar = New TXTextControl.Windows.Forms.Sidebar()
sidebar.ShowPinButton = False
sidebar.IsPinned = True
sidebar.IsShown = False
sidebar.IsSizable = False
sidebar.ShowTitle = False
sidebar.TitleFont = New System.Drawing.Font("Times New Roman", 12)
sidebar.Text = "mySidebarText" ' here, the Text property is set