Text 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
Overridden. Gets or sets the RibbonLabel's text. If no text is set, only the RibbonLabel's icon is displayed.
Syntax
public override string Text { get; set; }Public Overrides Property Text() As StringExamples
The following example uses RibbonLabel.Text to replace the ribbon label's displayed content. The change is then applied to the active document or user interface.
ribbonLabel.Text = "Quarterly results";
ribbonLabel.Update();ribbonLabel.Text = "Quarterly results"
ribbonLabel.Update()