TX Spell .NET for Windows Forms

WillBeDuplicate Property

Property|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WinForms.SDK as TXSpell.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TXSpell.Core.SDK as 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; }

Examples

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.");
}

Limitations

Read only.

Remarks

This property returns an exception, if the current IncorrectWordChangingEventArgs.Type property is not type of Replace.