Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 3.19 KB

overview.md

File metadata and controls

39 lines (29 loc) · 3.19 KB
title page_title description tags position slug
Overview
.NET MAUI ToggleButton Documentation - Overview
Try now the Telerik UI for .NET MAUI ToggleButton control that provides various options for customizing its look and feel.
toggle button for .net maui, .net maui, ui for .net maui, microsoft .net maui
0
togglebutton-overview

.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

Key Features of the .NET MAUI ToggleButton

  • [Toggled states]({%slug togglebutton-toggle-states%})—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]({%slug togglebutton-toggle-states%}#setting-three-states)—You can apply an indeterminate state through the UI by setting the IsThreeState property.
  • [Content and ContentTemplate]({%slug togglebutton-configuration%}#setting-content)—The ToggleButton allows you to define a Content. In addition, there is an option for setting ContentTemplate.
  • [Text alignment]({%slug togglebutton-configuration%}#text-alignment)—The ToggleButton enables you to control the horizontal and vertical positioning of the text inside the content.
  • [Visual states]({%slug 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]({%slug 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]({%slug togglebutton-command%})—The ToggleButton provides a command, that executes when the button is clicked.
  • [Styling]({%slug 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]({%slug 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]({%slug togglebutton-getting-started%})

See Also