-
Notifications
You must be signed in to change notification settings - Fork 3
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.
In this example a single checkbox is added and is checked:
<dui:CheckBox Text="Checkbox title"
IsSelected="True" />
Inspect the Checkbox Properties Class to further customize and use it.
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.
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" />
Inspect the FilledCheckBox Properties Class to further customize and use it.