# TXSpellChecker.SpellCheckDialogOpening Event

> Occurs when the built-in spell check dialog is invoked using the SpellCheckDialog.Show method. The SpellCheckDialogOpeningHandler receives an argument of type SpellCheckDialogOpeningEventArgs containing data related to this event.

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

---

### Description

Occurs when the built-in spell check dialog is invoked using the [SpellCheckDialog.Show](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/show-method/llms-full.txt) method. The SpellCheckDialogOpeningHandler receives an argument of type SpellCheckDialogOpeningEventArgs containing data related to this event.

### Syntax

```csharp
public event SpellCheckDialogOpeningHandler SpellCheckDialogOpening;
```

```vbnet
Public Event SpellCheckDialogOpening As SpellCheckDialogOpeningHandler
```

### Examples

The following example records useful context when spell check dialog opening occurs.

```csharp
tXSpellChecker.SpellCheckDialogOpening += (sender, e) =>
{
    Console.WriteLine($"Spell Check Dialog Opening at {DateTime.Now:u}");
};
```

```vbnet
AddHandler tXSpellChecker.SpellCheckDialogOpening,
    Sub(sender, e)
        Console.WriteLine($"Spell Check Dialog Opening at {DateTime.Now:u}")
    End Sub
```

---

## Nearby

- **Previous:** [TXSpellChecker.SpellCheckDialogClosing Event](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/spellcheckdialogclosing-event/llms-full.txt)
- **Next:** [TXSpellChecker.SpellingCorrectionUIProvider Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/txspellchecker/spellingcorrectionuiprovider-property/llms-full.txt)
