​
​
​

Gets or sets the text that is displayed before the text box.

Syntax

​public string Label { get; set; }
​Public Property Label() As String

Examples

The following snippet descripes how to set the label property of a RibbonTextBox.

​TXTextControl.Windows.Forms.Ribbon.RibbonTextBox MyRibbonTextBox = new TXTextControl.Windows.Forms.Ribbon.RibbonTextBox();
MyRibbonTextBox.Label = "My Label for MyRibbonTextBox";
​Dim MyRibbonTextBox As TXTextControl.Windows.Forms.Ribbon.RibbonTextBox = New TXTextControl.Windows.Forms.Ribbon.RibbonTextBox()
MyRibbonTextBox.Label = "My Label for RibbonTextBox"
​