TX Spell .NET for WPF

SuggestionDictionaryComboBox Class

Class|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXSpell.WPF.dll
Install
dotnet add package TXTextControl.TXSpell.WPF.SDK .NET 8 and later. For .NET Framework, reference TXSpell.WPF.dll from the setup.

Description

The SuggestionDictionaryComboBox class describes and handles attributes of the spell check dialog's suggestion dictionary combo box. An instance of that class is provided by the SpellCheckDialog.SuggestionDictionaryComboBox property in TX Spell .NET for WPF

Syntax

public sealed class SuggestionDictionaryComboBox

Examples

The following example includes the is all item enabled value from a Suggestion Dictionary Combo Box object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Is All Item Enabled: {suggestionDictionaryComboBox.IsAllItemEnabled}");
Console.WriteLine("Suggestion Dictionary Combo Box is ready for use.");

Members

Properties

PropertyDescription
IsAllItemEnabledGets or sets a value indicating whether the SpellCheckDialog's dictionary combo box provides an All item that represents all dictionaries that are IsGetSuggestionsEnabled to create suggestions or not. The All item is only provided, if the number of dictionaries, that are set to IsGetSuggestionsEnabled, is more than one. The default value is false.
IsAllItemSelectedGets or sets a value indicating whether the All item of the SpellCheckDialog's dictionary combobox is selected or not. These properties can be set to true, if the SpellCheckDialog is not invoked or the SpellCheckDialog is opened, the number of dictionaries that are set to IsGetSuggestionsEnabled are more than one and the IsAllItemEnabled property is set to true. The default value is false.
SuggestionDictionaryGets or sets the dictionary that is currently selected as a suggestion dictionary. If the IsAllItemSelected property is set to true, the value is null.