TX Spell .NET for WPF

WillBeDuplicate Property

Property|Introduced in 3.0
Namespace
TXTextControl.Proofing
Package
TXTextControl.TXSpell.WPF.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 misspelled word would result in a conversion to a duplicate misspelled word.

Syntax

public bool WillBeDuplicate { get; }

Examples

The following example checks the will be duplicate state before recording the object's current status.

if (misspelledWordChangingEventArgs.WillBeDuplicate)
{
    Console.WriteLine("Misspelled Word Changing Event Args is ready for this operation.");
}

Limitations

Read only.

Remarks

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

This property returns false, if used in combination with TXTextControl version 17.0.