Text Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the text displayed by the DialogButton.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
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}");
}dialogButton.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(dialogButton.Text) Then
Console.WriteLine($"Text: {dialogButton.Text}")
End If