TX Spell .NET for Windows Forms

SpellingCorrectionUIProvider Class

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

Description

The SpellingCorrectionUIProvider class provides methods and properties for constructing a spelling correction user interface.

Syntax

public sealed class SpellingCorrectionUIProvider

Examples

The following example includes the preview handling value from a Spelling Correction UIProvider object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Preview Handling: {spellingCorrectionUIProvider.PreviewHandling}");
Console.WriteLine("Spelling Correction UIProvider is ready for use.");

Members

Properties

PropertyDescription
CorrectionHandlingGets an object of type CorrectionHandler that provides methods and properties which are necessary to construct the correction handling part of a spelling correction user interface.
PreviewHandlingGets an object of type PreviewHandler that provides properties which are necessary to construct an editable preview for a spelling correction user interface.
StateManagingGets an object of type StateManager that provides methods and properties which are necessary to initialize, modify and perceive the current state of a spelling correction procedure.
SuggestionDictionariesHandlingGets an object of type SuggestionDictionariesHandler that provides properties which are necessary to modify and perceive suggestion dictionaries in a spelling correction user interface. These dictionaries are used to create suggestions which are related to the CurrentWordToCorrect.
SuggestionsHandlingGets an object of type SuggestionsHandler that provides properties which are necessary to modify and perceive a list of suggestions for correcting the current word to correct in a spelling correction user interface.