# DialogButton.Enabled Property

> Gets or sets a value indicating whether the DialogButton can respond to user interaction.

- **Product:** TX Spell .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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
- **Path:** TX Spell .NET for Windows Forms > Reference > TXTextControl.Proofing > DialogButton.Enabled Property
- **369 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/enabled-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/enabled-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/enabled-property/llms-full.txt

---

### Description

Gets or sets a value indicating whether the [DialogButton](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/llms-full.txt) can respond to user interaction.

### Syntax

```csharp
public bool Enabled { get; set; }
```

```vbnet
Public Property Enabled As Boolean
```

### Examples

The following example uses `DialogButton.Enabled` to configure enabled as part of the dialog button workflow. The configured value is checked before the workflow continues.

```csharp
dialogButton.Enabled = true;
if (dialogButton.Enabled)
{
    Console.WriteLine("Dialog Button: Enabled is enabled.");
}
```

```vbnet
dialogButton.Enabled = True
If dialogButton.Enabled Then
    Console.WriteLine("Dialog Button: Enabled is enabled.")
End If
```

---

## Nearby

- **Previous:** [DialogButton Constructor](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/constructor/llms-full.txt)
- **Next:** [DialogButton.Font Property](https://docs.textcontrol.com/tx-spell-dotnet-winforms/reference/txtextcontrol-proofing/dialogbutton/font-property/llms-full.txt)
