Tab
A newer version of this page is available. Switch to the current version.

ASPxCheckBox.Checked Property

Gets or sets a value that specifies whether the check box editor is checked.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(false)]
public virtual bool Checked { get; set; }
<DefaultValue(False)>
Public Overridable Property Checked As Boolean

Property Value

Type Default Description
Boolean

false

true if the check box is checked; otherwise, false.

Remarks

Use the Checked property to specify the checked status of the check box editor. Changing the Checked property initializes the ASPxEdit.Value property with the corresponding value. This value is specified via the ASPxCheckBox.ValueChecked or ASPxCheckBox.ValueUnchecked property.

Note that the Checked and ASPxCheckBox.CheckState properties synchronize their values. The image below demonstrates the correspondence between property values.

 

CheckBox_Checked-CheckState

Examples

The following section of the online demo illustrates how to use the ASPxCheckBox's ASPxCheckBox.Checked property.

 ...
<dxe:ASPxCheckBox ID="chbShowProgressPanel" runat="server" AutoPostBack="true" 
Checked="True" Text="ShowProgressPanel">
...

Implements

See Also