Back to Devexpress

DxCheckBox<T> Members

blazor-devexpress-dot-blazor-dot-dxcheckbox-1-dot-underscore-members.md

latest6.4 KB
Original Source

DxCheckBox<T> Members

A check box control that allows users to toggle between two or three states.

Constructors

NameDescription
DxCheckBox()Initializes a new instance of the DxCheckBox<T> class with the default settings.

Properties

NameDescription
AlignmentSpecifies the alignment of a CheckBox’s content.
AllowIndeterminateStateSpecifies whether the CheckBox supports the indeterminate state.
AllowIndeterminateStateByClickSpecifies whether users can set the checkbox state to indeterminate.
AttributesSpecifies a collection of standard HTML attributes applied to the CheckBox.
CheckedSpecifies the checkbox’s state.
CheckedExpressionSpecifies a lambda expression that identifies the Checked property’s bound value when the CheckBox is placed in the EditForm.
CheckTypeSpecifies the checkbox type.
ChildContentSpecifies CheckBox custom content.
CssClassAssigns a CSS class to the editor. Inherited from DxDataEditor<T>.
DisableDefaultRenderSpecifies whether to hide the default check mark.
EnabledSpecifies whether an editor is enabled. Inherited from DxDataEditor<T>.
IdSpecifies the component’s unique identifier.
InputIdSpecifies a unique identifier (ID) of the CheckBox’s input element.
LabelPositionSpecifies the horizontal position of the checkbox’s child content relative to the check mark.
LabelWrapModeSpecifies how the CheckBox label is wrapped.
ReadOnlySpecifies whether read-only mode is active. Inherited from DxDataEditor<T>.
ShowValidationSuccessStateSpecifies whether the editor indicates successful validation. When an input value is valid, the editor displays a green outline and can show a success icon. Inherited from DxDataEditor<T>.
SizeModeSpecifies an editor size. Inherited from DxDataEditor<T>.
ValidationEnabledSpecifies whether the editor validates user input. Inherited from DxDataEditor<T>.
ValueCheckedSpecifies the value that corresponds to the checkbox’s checked state.
ValueIndeterminateSpecifies the value that corresponds to the checkbox’s indeterminate state.
ValueUncheckedSpecifies the value that corresponds to the checkbox’s unchecked state.

Methods

NameDescription
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
FocusAsync()Moves focus to the CheckBox component.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

Events

NameDescription
CheckedChangedFires when the checkbox’s state changes.

See Also

DxCheckBox<T> Class

DevExpress.Blazor Namespace