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 dictionary inside the options dialog or the SpellCheckDialog's SuggestionDictionaryComboBox. The default value is the name of the dictionary.
Syntax
public string DisplayName { get; set; }Public Property DisplayName As StringExamples
The following example uses Dictionary.DisplayName to configure display name as part of the dictionary workflow. The configured value is checked before the workflow continues.
dictionary.DisplayName = "CustomerName";
if (!string.IsNullOrWhiteSpace(dictionary.DisplayName))
{
Console.WriteLine($"Display Name: {dictionary.DisplayName}");
}dictionary.DisplayName = "CustomerName"
If Not String.IsNullOrWhiteSpace(dictionary.DisplayName) Then
Console.WriteLine($"Display Name: {dictionary.DisplayName}")
End If