Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
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.

.NET MAUI CheckEdit - CustomIcons

<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