Skip to main content

CheckEdit.CheckedCheckBoxImage Property

Gets or sets the checkbox icon in the checked state.

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.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:

Use the following properties to specify the checkbox icon in different states:

  • CheckedCheckBoxImage — Gets or sets the checkbox icon in the checked state.
  • UncheckedCheckBoxImage — Gets or sets the checkbox icon in the unchecked state.
  • IndeterminateCheckBoxImage — Gets or sets the checkbox icon in the indeterminate state.

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