MisspelledWordChangingEventArgs Class
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTXSpell. WinForms. SDK
- Assembly
TXSpell.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTXSpell. WinForms. SDK TXSpell.from the setup.dll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
- Inherits
- Event
Args - Misspelled
Word Changing Event Args
- Event
Description
The MisspelledWordChangingEventArgs class provides data for the TXSpellChecker.MisspelledWordChanging event in TXSpell for Windows Forms and WPF.
Syntax
public sealed class MisspelledWordChangingEventArgs : EventArgsPublic NotInheritable Class MisspelledWordChangingEventArgs
Inherits EventArgsExamples
The following example includes the cancel value from a Misspelled Word Changing Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Cancel: {misspelledWordChangingEventArgs.Cancel}");
Console.WriteLine("Misspelled Word Changing Event Args is ready for use.");Console.WriteLine($"Cancel: {misspelledWordChangingEventArgs.Cancel}")
Console.WriteLine("Misspelled Word Changing Event Args is ready for use.")Members
Properties
| Property | Description |
|---|---|
| Cancel | Get or sets a value indicating whether the changing operation for the current misspelled word should be canceled. |
| CorrectedWord | Gets or sets the new word that replaces the text of an object of type TXTextControl.MisspelledWord. |
| IFormattedText | Gets the object of type TXTextControl.IFormattedText where the object of type TXTextControl.MisspelledWord is changed. |
| MisspelledWord | Gets the object of type TXTextControl.MisspelledWord that is changed. |
| Type | Gets the type that defines how the object of type TXTextControl.MisspelledWord is changed. |
| WillBeDuplicate | Gets a value specifying whether replacing the text of the current misspelled word would result in a conversion to a duplicate misspelled word. |