TX Spell .NET for Windows Forms

Text Property

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

Description

Gets or sets the text displayed by the DialogButton.

Syntax

public string Text { get; set; }

Examples

The following example uses DialogButton.Text to replace the dialog button's displayed content. The configured value is checked before the workflow continues.

dialogButton.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(dialogButton.Text))
{
    Console.WriteLine($"Text: {dialogButton.Text}");
}