Label Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the text that is displayed before the text box.
Syntax
public string Label { get; set; }Public Property Label As StringExamples
The following example uses RibbonTextBox.Label to configure label as part of the ribbon text box workflow. The change is then applied to the active document or user interface.
ribbonTextBox.Label = "Quarterly report";
ribbonTextBox.Update();ribbonTextBox.Label = "Quarterly report"
ribbonTextBox.Update()