# OptionsDialogOpeningEventArgs Class

> The OptionsDialogOpeningEventArgs class provides data for the TXSpellChecker.OptionsDialogOpening event in TXSpell for Windows Forms.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.Proofing`
- **Package:** `TXTextControl.TXSpell.WinForms.SDK` (assembly `TXSpell.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.Windows.Forms.dll` from the setup
- **Inherits:** `System.EventArgs`
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > OptionsDialogOpeningEventArgs Class
- **445 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/optionsdialogopeningeventargs/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/optionsdialogopeningeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/optionsdialogopeningeventargs/llms-full.txt

---

### Description

The OptionsDialogOpeningEventArgs class provides data for the TXSpellChecker.OptionsDialogOpening event in TXSpell for [Windows Forms](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/txspellchecker/optionsdialogopening-event/llms-full.txt).

### Syntax

```csharp
public sealed class OptionsDialogOpeningEventArgs : EventArgs
```

```vbnet
Public NotInheritable Class OptionsDialogOpeningEventArgs
    Inherits EventArgs
```

### Examples

The following example includes the cancel value from an Options Dialog Opening Event Args object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Cancel: {optionsDialogOpeningEventArgs.Cancel}");
Console.WriteLine("Options Dialog Opening Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"Cancel: {optionsDialogOpeningEventArgs.Cancel}")
Console.WriteLine("Options Dialog Opening Event Args is ready for use.")
```

---

## In This Section

- [OptionsDialogOpeningEventArgs.Cancel Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/optionsdialogopeningeventargs/cancel-property/llms-full.txt): Gets or sets a value indicating whether the event is canceled or not.

---

## Nearby

- **Previous:** [OpenOfficeDictionary Constructor](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/openofficedictionary/constructor/llms-full.txt)
- **Next:** [OptionsDialogOpeningEventArgs.Cancel Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/optionsdialogopeningeventargs/cancel-property/llms-full.txt)
