BootstrapCheckBox Class
In This Article
Represents the check box control.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
NuGet Package: DevExpress.Web.Bootstrap
#Declaration
[DXClientDocumentationProviderWeb("BootstrapCheckBox")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapCheckBox :
ASPxCheckBox,
ISimpleRenderControl,
IBootstrapEditorCssClassesOwner
#Remarks
Note
The Bootstrap
- The control’s client-side equivalent is represented by the Bootstrap
Client object.Check Box - On the client side, the client object can be accessed directly by the name specified via the ASPx
Edit property.Base. Client Instance Name - The available client events can be accessed by using the ASPx
Check property.Box. Client Side Events
The control’s client-side API is enabled if the ASPx
#Example
This example demonstrates how to activate the third, “Intermediate”, state in the Check Box control.
- Initialize a new instance of the
BootstrapCheckBox
class. - Use the ASPxCheckBox.Text to specify the check box’s text.
- Assign true to the ASPxCheckBox.AllowGrayed property to allow the control to have three check states. The default check state is specified by the ASPxCheckBox.CheckState property.
<dx:BootstrapCheckBox runat="server" Text="A sample text" AllowGrayed="true" CheckState="Indeterminate">
</dx:BootstrapCheckBox>
#Inheritance
See Also