WillBeDuplicate Property
- Namespace
TXTextControl.Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTXSpell. Core. SDK TXSpell.dll
Description
Gets a value specifying whether replacing the text of the current incorrect word would result in a conversion to a duplicate incorrect word.
Syntax
public bool WillBeDuplicate { get; }Public ReadOnly Property WillBeDuplicate As BooleanExamples
The following example checks the will be duplicate state before recording the object's current status.
if (incorrectWordChangingEventArgs.WillBeDuplicate)
{
Console.WriteLine("Incorrect Word Changing Event Args is ready for this operation.");
}If incorrectWordChangingEventArgs.WillBeDuplicate Then
Console.WriteLine("Incorrect Word Changing Event Args is ready for this operation.")
End IfLimitations
Read only.
Remarks
This property returns an exception, if the current IncorrectWordChangingEventArgs.Type property is not type of Replace.