# .NET MAUI ToggleButton Overview

The Telerik UI for .NET MAUI ToggleButton component represents a button that can be toggled between two states: toggled and untoggled. It allows end users to select or toggle an option or a state in an application's user interface.

The ToggleButton is commonly used in scenarios to capture and represent a binary choice, such as enabling or disabling a feature, activating or deactivating a setting, or toggling between two different modes or views.

![.NET MAUI ToggleButton Overview](https://www.telerik.com/maui-ui/documentation/assets/4959bf7ce56034ea1a838ffd8d06c8d1/togglebutton-overview.png "ToggleButton for .NET MAUI")

## Key Features of the .NET MAUI ToggleButton

* [Toggled states](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/toggle-state)—The ToggleButton delivers options for setting its state to toggled and untoggled, and provides an additional indeterminate state which indicates the control is neither toggled nor untoggled.
* [Setting three states](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/toggle-state#setting-three-states)—You can apply an indeterminate state through the UI by setting the `IsThreeState` property.
* [Content and ContentTemplate](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/configuration#setting-content)—The ToggleButton allows you to define a `Content`. In addition, there is an option for setting `ContentTemplate`.
* [Text alignment](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/configuration#text-alignment)—The ToggleButton enables you to control the horizontal and vertical positioning of the text inside the content.
* [Visual states](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/visual-states)—You can change the ToggleButton appearance for different visual states like, `Normal`, `Pressed`, `MouseOver` (desktop-only), `Toggled`, `Disabled`, and more.
* [Exhaustive number of events](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/events)—You can use the events exposed by the ToggleButton to execute various operations on user interaction such as click, press, release, and changing toggle state.
* [Command](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/command)—The ToggleButton provides a command, that executes when the button is clicked.
* [Styling](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/styling)—You can apply different styling options to the button such as changing its background color, border color, border thickness and more.
* [Ripple effect](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/ripple)—You can apply a ripple effect on Android when pressing the ToggleButton.

## Next Steps

* [Getting Started with Telerik UI for .NET MAUI ToggleButton](https://www.telerik.com/maui-ui/documentation/controls/togglebutton/getting-started)

## See Also

* <a href="https://www.telerik.com/maui-ui/togglebutton" target="_blank">.NET MAUI ToggleButton Product Page</a>
* <a href="https://www.telerik.com/forums/maui?tagId=2057" target="_blank">.NET MAUI ToggleButton Forum Page</a>
* <a href="https://www.telerik.com/blogs/mobile-net-maui" target="_blank">Telerik .NET MAUI Blogs</a>
* <a href="https://www.telerik.com/support/whats-new/maui-ui/roadmap" target="_blank">Telerik .NET MAUI Roadmap</a>
