Back to Devexpress

CheckEdit.AllowIndeterminateInput Property

maui-devexpress-dot-maui-dot-editors-dot-checkedit-374afe19.md

latest1.7 KB
Original Source

CheckEdit.AllowIndeterminateInput Property

Gets or sets whether a user can set the editor to the indeterminate state. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public bool AllowIndeterminateInput { get; set; }

Property Value

TypeDefaultDescription
Booleanfalse

true if a user can set the editor to the indeterminate state; otherwise, false.

|

Remarks

Use the IsChecked property to specify the checked state. If this property is set to null , the editor is in the indeterminate state. To allow users to set the indeterminate state, enable the AllowIndeterminateInput option.

Example

The code below displays the CheckEdit in the checked, unchecked, and indeterminate states.

xaml
<dxe:CheckEdit Label="Automatic date and time"
               IsChecked="True"/>
<dxe:CheckEdit Label="Automatic time zone"
               IsChecked="False"/>
<dxe:CheckEdit Label="Use 24-hour format"
               AllowIndeterminateInput="True"
               IsChecked="{x:Null}"/>

See Also

CheckEdit Class

CheckEdit Members

DevExpress.Maui.Editors Namespace