TX Text Control .NET for Windows Forms

Text Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Overridden. Gets or sets the text that is inserted in the text box.

Syntax

public override string Text { get; set; }

Examples

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();