SuggestionDictionaryComboBox Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.Windows. Forms. dll
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 Windows Forms
Syntax
public sealed class SuggestionDictionaryComboBoxPublic NotInheritable Class SuggestionDictionaryComboBoxExamples
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.");Console.WriteLine($"Is All Item Enabled: {suggestionDictionaryComboBox.IsAllItemEnabled}")
Console.WriteLine("Suggestion Dictionary Combo Box is ready for use.")Members
Properties
| Property | Description |
|---|---|
| IsAllItemEnabled | Gets 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. |
| IsAllItemSelected | Gets 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. |
| IsLanguageItemEndabled | Not described in the reference. public bool IsLanguageItemEndabled { get; set; } |
| SuggestionDictionary | Gets or sets the dictionary that is currently selected as a suggestion dictionary. If the IsAllItemSelected property is set to true, the value is null. |