CheckEdit.CheckedCheckBoxImage Property
Gets or sets the checkbox icon in the checked state. This is a bindable property.
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
Declaration
public ImageSource CheckedCheckBoxImage { get; set; }
Property Value
Type | Description |
---|---|
ImageSource | The icon. |
Remarks
Use the following properties to specify the color of the checkbox in different states:
- CheckBoxColor — Gets or sets the color of the checkbox in the unchecked state. This is a bindable property.
- CheckedCheckBoxColor — Gets or sets the color of the checkbox in the checked state. This is a bindable property.
- DisabledCheckBoxColor — Gets or sets the color of the checkbox in the disabled unchecked state. This is a bindable property.
- DisabledCheckedCheckBoxColor — Gets or sets the color of the checkbox in the disabled checked state. This is a bindable property.
If you specify a custom checkbox and want to use the default colors, set these properties to {x:Null}
.
Use the following properties to specify the checkbox icon in different states:
CheckedCheckBoxImage
— Gets or sets the checkbox icon in the checked state. This is a bindable property.- UncheckedCheckBoxImage — Gets or sets the checkbox icon in the unchecked state. This is a bindable property.
- IndeterminateCheckBoxImage — Gets or sets the checkbox icon in the indeterminate state. This is a bindable property.
Example
The code below uses custom toggle icons for the CheckEdit in the checked and unchecked states.
<dxe:CheckEdit Label="Automatic date and time"
IsChecked="True"
CheckedCheckBoxImage="baseline_toggle_on_24"
UncheckedCheckBoxImage="baseline_toggle_off_24"/>
<dxe:CheckEdit Label="Automatic time zone"
IsChecked="False"
CheckedCheckBoxImage="baseline_toggle_on_24"
UncheckedCheckBoxImage="baseline_toggle_off_24"/>
See Also