Back to Devexpress

BootstrapCheckBox Class

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-6db80bbf.md

latest3.5 KB
Original Source

BootstrapCheckBox Class

Represents the check box control.

Namespace : DevExpress.Web.Bootstrap

Assembly : DevExpress.Web.Bootstrap.v25.2.dll

NuGet Package : DevExpress.Web.Bootstrap

Declaration

csharp
[DXClientDocumentationProviderWeb("BootstrapCheckBox")]
[ToolboxTabName("DX.25.2: Bootstrap Controls")]
public class BootstrapCheckBox :
    ASPxCheckBox,
    ISimpleRenderControl,
    IBootstrapEditorCssClassesOwner
vb
<ToolboxTabName("DX.25.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapCheckBox")>
Public Class BootstrapCheckBox
    Inherits ASPxCheckBox
    Implements ISimpleRenderControl,
               IBootstrapEditorCssClassesOwner

Remarks

Note

The BootstrapCheckBox control provides you with comprehensive client-side functionality implemented using JavaScript code:

The control’s client-side API is enabled if the ASPxEditBase.EnableClientSideAPI property is set to true, or the ASPxEditBase.ClientInstanceName property is defined, or any client event is handled.

Example

This example demonstrates how to activate the third, “Intermediate”, state in the Check Box control.

aspx
<dx:BootstrapCheckBox runat="server" Text="A sample text" AllowGrayed="true" CheckState="Indeterminate">
</dx:BootstrapCheckBox>

Inheritance

Show 11 items

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxDataWebControlBase ASPxDataWebControl ASPxEditBase ASPxEdit ASPxCheckBox BootstrapCheckBox

See Also

BootstrapCheckBox Members

DevExpress.Web.Bootstrap Namespace