CheckBoxProperties.AllowGrayedByClick Property
Gets or sets a value that specifies whether a check box can be set to a grayed state by a mouse click.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Remarks
By default, a check box can be set to either the checked or unchecked check state. To enable the third grayed state, set the CheckBoxProperties.AllowGrayed property to true
. Set the AllowGrayedByClick property to false
, to prohibit end-users from setting the grayed check box state via a mouse click. In this case, you can set a check box to the grayed state programmatically via the ASPxCheckBox.CheckState property on the server side and using the ASPxClientCheckBox.SetCheckState method on the client side.
Note
- If the Check
Box property is set toProperties. Allow Grayed false
, the AllowGrayed property is not in effect.By Click - The Allow
Grayed property is not in effect for the radio button.By Click