[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Collapse]ASP.NET Core Bootstrap Controls
  Getting Started
  Grid View
 [Expand]Site Navigation
 [Expand]Site Layout
 [Collapse]Data Editors
   Button Edit
   Check Box
   Check Box List
   Combo Box
   Date Edit
   List Box
   Progress Bar
   Radio Button
   Radio Button List
   Spin Edit
   Text Box
 [Expand]Redistribution and Deployment
 [Expand]API Reference
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Check Box

The Bootstrap Check Box control is a check editor that allows end-users to select yes/no or true/false conditions. A check state can be switched by clicking the editor with the mouse or by pressing the SPACE key when the editor has focus.

Bootstrap Check Box offers the following features:

  • Three State Support

    By default, a check box can be set to either the checked or unchecked check state. Additionally, you can enable the third grayed (indeterminate) state using the DevExpress.AspNetCore.Bootstrap.BootstrapCheckBoxBuilder.AllowGrayed method.

  • Full-Featured Client-Side API

    Bootstrap Check Box provides you with a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the BootstrapClientCheckBox object. The BootstrapClientCheckBox object serves as the client-side equivalent of the Bootstrap Check Box control.

    You can operate with the editor values using the following methods.

    Method Description
    BootstrapClientCheckBox.GetChecked Returns a value indicating whether the check box editor is checked.
    BootstrapClientCheckBox.GetCheckState Returns a value which specifies a check box checked state.
    BootstrapClientCheckBox.GetText Returns the text displayed within the editor.
    BootstrapClientCheckBox.SetChecked Sets a value which specifies the checked status of the check box editor.
    BootstrapClientCheckBox.SetCheckState Sets a value specifying the state of a check box.
    BootstrapClientCheckBox.SetText Sets the text to be displayed within the editor.

Expanded See Also

Is this topic helpful?​​​​​​​