Back to Devexpress

ASPxClientCheckBox.SetCheckState(checkState) Method

aspnet-js-aspxclientcheckbox-dot-setcheckstate-x28-checkstate-x29.md

latest1.4 KB
Original Source

ASPxClientCheckBox.SetCheckState(checkState) Method

Sets a value specifying the state of a check box.

Declaration

ts
SetCheckState(
    checkState: string
): void

Parameters

NameTypeDescription
checkStatestring

A string value matches one of the CheckState enumeration values.

|

Remarks

Use the SetCheckState method to specify the state of a check box (the ASPxCheckBox.CheckState property value) on the client side. To determine the check state on the client side, use the ASPxClientCheckBox.GetCheckState method.

Note

If the ASPxCheckBox.AllowGrayed property is set to false the grayed state is disabled. In this case, a setting the SetCheckState property to Indeterminate (grayed state) automatically sets it to unchecked state.

See Also

CheckState

AllowGrayed

GetCheckState

Check Box

ASPxClientCheckBox Class

ASPxClientCheckBox Members