Skip to content

Checkboxes

Vetle444 edited this page Aug 14, 2023 · 1 revision

A checkbox is used to let users select one or more options of a limited number of choices.

Usage

In this example a single checkbox is added and is checked:

<dui:CheckBox Text="Checkbox title"
              IsSelected="True" />

Properties

Inspect the Checkbox Properties Class to further customize and use it.

FilledCheckBox

FilledCheckBox can be used when an action is to be executed when pressed, and will indicate when that action is done by filling up the checkbox.

Usage

In this example a FilledCheckBox is used to save something that takes a while to complete:

<dui:FilledCheckBox IsProgressing="{Binding IsProgressing}"
                    IsChecked="{Binding IsChecked}"
                    Command="{Binding SaveCommand}"
                    UnCheckedBackgroundColor="{dui:Colors color_neutral_10}"
                    HorizontalOptions="Start"
                    WidthRequest="100"
                    HeightRequest="100"
                    CornerRadius="50" />

Properties

Inspect the FilledCheckBox Properties Class to further customize and use it.

Clone this wiki locally