DisplayName Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets or sets the text that is displayed for the synonym list inside the options dialog. The default value is the name of the synonym list.
Syntax
public string DisplayName { get; set; }Public Property DisplayName As StringExamples
The following example uses SynonymList.DisplayName to configure display name as part of the synonym list workflow. The configured value is checked before the workflow continues.
synonymList.DisplayName = "CustomerName";
if (!string.IsNullOrWhiteSpace(synonymList.DisplayName))
{
Console.WriteLine($"Display Name: {synonymList.DisplayName}");
}synonymList.DisplayName = "CustomerName"
If Not String.IsNullOrWhiteSpace(synonymList.DisplayName) Then
Console.WriteLine($"Display Name: {synonymList.DisplayName}")
End If