Toggle Button

Inherits from Xamarin.Forms.ContentView

Think of a Toggle Button as a fancy check box. It provides the same basic functionality, an on/off toggle. But it presents it as a large button. An icon is used to indicate state, but the visual state of the button also updates to reflect the state. This makes it very obvious to the user when looking at a list of items which ones are turned on and which are turned off.

CSS Classes

The construction of a toggle button is made up of multiple controls. A Frame contains the entire button. Inside of that is an Icon and Label which display the contents of the button.

Properties

Example

<Rock:ToggleButton Text="Include Completed"
    IsChecked="True" />

Last updated

⚙️ Powered by Rock RMS