# RibbonToggleButton.Checked Property

> Gets or set a value indicating whether this RibbonToggleButton is checked.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonToggleButton.Checked Property
- **371 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontogglebutton/checked-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontogglebutton/checked-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontogglebutton/checked-property/llms-full.txt

---

### Description

Gets or set a value indicating whether this RibbonToggleButton is checked.

### Syntax

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

```vbnet
Public Property Checked As Boolean
```

### Examples

The following example uses `RibbonToggleButton.Checked` to configure checked as part of the ribbon toggle button workflow. The change is then applied to the active document or user interface.

```csharp
ribbonToggleButton.Checked = true;
ribbonToggleButton.Update();
```

```vbnet
ribbonToggleButton.Checked = True
ribbonToggleButton.Update()
```

### Remarks

A check mark icon is displayed if the [SmallIcon](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonbutton/smallicon-property/llms-full.txt) property is set to null, the [DisplayMode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonbutton/displaymode-property/llms-full.txt) property value is [IconTextRelation.SmallIconLabeled](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/icontextrelation/enumeration/llms-full.txt) and the Checked property value is set to true.

---

## Nearby

- **Previous:** [RibbonToggleButton Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontogglebutton/llms-full.txt)
- **Next:** [RibbonToggleButton.CheckedChanged Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontogglebutton/checkedchanged-event/llms-full.txt)
