CheckEdit.IndeterminateCheckBoxImage Property
Gets or sets the checkbox icon in the indeterminate state.
Namespace: DevExpress.XamarinForms.Editors
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public ImageSource IndeterminateCheckBoxImage { 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.
- CheckedCheckBoxColor — Gets or sets the color of the checkbox in the checked state.
- DisabledCheckBoxColor — Gets or sets the color of the checkbox in the disabled unchecked state.
- DisabledCheckedCheckBoxColor — Gets or sets the color of the checkbox in the disabled checked state.
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