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

Syntax

public string Label { get; set; }

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";