# Toggle Button

The `RadToggleButton` control extends the native `ToggleButton` component by providing an additional command target support and consistent theming with the other Telerik components.

The ToggleButton is a basic WinUI conrtol that allows you to click on it and change its toggle state (checked or unchecked). The `RadToggleButton` implementation comes with a full `ICommandSource` implementation that provides also a `CommandTarget` property compared to the native `Button` where this is missing.

The following example shows how to define a button in XAML and subscribe to its `Checked` and `Unchecked` events. Alterntively, you can use the `Click` event and the `IsChecked` property.

#### **Defining RadButton**

```XAML
<telerikControls:RadToggleButton Content="RadToggleButton" 
								 Checked="RadToggleButton_Checked" 
								 Unchecked="RadToggleButton_Unchecked"/>
```

#### **Defining Checked and Unchecked event handlers**

```C#
private void RadToggleButton_Checked(object sender, RoutedEventArgs e)
{
}

private void RadToggleButton_Unchecked(object sender, RoutedEventArgs e)
{
}
```

**Checked ToggleButton**

![WinUI RadButtons ](https://www.telerik.com/winui/documentation/assets/6184f26a38bb536a2ea6ede388c6f9ec/buttons-toggle-button-0.png)

## See Also

* [Events](https://www.telerik.com/winui/documentation/controls/radbuttons/events)
* [Customizing Appearance](https://www.telerik.com/winui/documentation/controls/radbuttons/apperance)
* [DropDownButton](https://www.telerik.com/winui/documentation/controls/radbuttons/dropdown-button)
* [SplitButton](https://www.telerik.com/winui/documentation/controls/radbuttons/split-button)
* [RadioButton](https://www.telerik.com/winui/documentation/controls/radbuttons/radio-button)
