SpellingCorrectionUIProvider Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WPF. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WPF. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
The SpellingCorrectionUIProvider class provides methods and properties for constructing a spelling correction user interface.
Syntax
public sealed class SpellingCorrectionUIProviderPublic NotInheritable Class SpellingCorrectionUIProviderExamples
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.");Console.WriteLine($"Preview Handling: {spellingCorrectionUIProvider.PreviewHandling}")
Console.WriteLine("Spelling Correction UIProvider is ready for use.")Members
Properties
| Property | Description |
|---|---|
| CorrectionHandling | Gets 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. |
| PreviewHandling | Gets an object of type PreviewHandler that provides properties which are necessary to construct an editable preview for a spelling correction user interface. |
| StateManaging | Gets 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. |
| SuggestionDictionariesHandling | Gets 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. |
| SuggestionsHandling | Gets 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. |