# MisspelledWordChangingEventArgs.WillBeDuplicate Property

> Gets a value specifying whether replacing the text of the current misspelled word would result in a conversion to a duplicate misspelled word.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TXSpell.Core.SDK` (assembly `TXSpell.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.dll` from the setup
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.Proofing > MisspelledWordChangingEventArgs.WillBeDuplicate Property
- **464 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/willbeduplicate-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/willbeduplicate-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/willbeduplicate-property/llms-full.txt

---

### Description

Gets a value specifying whether [replacing the text](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/correctedword-property/llms-full.txt) of the current [misspelled word](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/misspelledword-property/llms-full.txt) would result in a conversion to a duplicate misspelled word.

### Syntax

```csharp
public bool WillBeDuplicate { get; }
```

```vbnet
Public ReadOnly Property WillBeDuplicate As Boolean
```

### Examples

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

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

```vbnet
If misspelledWordChangingEventArgs.WillBeDuplicate Then
    Console.WriteLine("Misspelled Word Changing Event Args is ready for this operation.")
End If
```

### Limitations

Read only.

### Remarks

This property returns an exception, if the current [MisspelledWordChangingEventArgs.Type](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/type-property/llms-full.txt) property is not type of [Replace](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/txspell-changetype/enumeration/llms-full.txt).

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

---

## Nearby

- **Previous:** [MisspelledWordChangingEventArgs.Type Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/misspelledwordchangingeventargs/type-property/llms-full.txt)
- **Next:** [OpenOfficeDictionary Class](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-proofing/openofficedictionary/llms-full.txt)
