TX Spell .NET for WPF

DisplayName Property

Property|Introduced in 10.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as 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; }

Examples

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}");
}