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 text that is inserted in the text box.
Syntax
public override string Text { get; set; }Public Overrides Property Text As StringExamples
The following example uses RibbonTextBox.Text to replace the ribbon text box's displayed content. The change is then applied to the active document or user interface.
ribbonTextBox.Text = "Quarterly results";
ribbonTextBox.Update();ribbonTextBox.Text = "Quarterly results"
ribbonTextBox.Update()