TX Text Control .NET for Windows Forms

TextBoxLabel 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

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

Syntax

public string TextBoxLabel { get; set; }

Examples

The following example uses RibbonTextBox.TextBoxLabel to configure text box label as part of the ribbon text box workflow. The change is then applied to the active document or user interface.

ribbonTextBox.TextBoxLabel = "Quarterly results";
ribbonTextBox.Update();