[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Collapse]ASP.NET Bootstrap Controls
 [Expand]Getting Started
 [Expand]Demos and Sample Applications
 [Expand]Project Configuration
 [Expand]Grid View
 [Expand]Card View
 [Expand]Rich Text Editor
 [Collapse]Data Editors
   Binary Image
   Button Edit
   Check Box
   Check Box List
   Color Edit
   Combo Box
   Date Edit
   Dropdown Edit
   List Box
   Progress Bar
   Radio Button
   Radio Button List
  [Expand]Range Selector
   Spin Edit
   Tag Box
   Text Box
   Time Edit
  [Expand]Upload Control
 [Expand]Site Navigation
 [Expand]Site Layout
  File Manager
 [Expand]Redistribution and Deployment
 [Expand]API Reference
[Expand]ASP.NET Core Bootstrap Controls
[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 BootstrapCheckBox 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 ASPxCheckBox.AllowGrayed property.

  • Multi-Field Mode

    A single item of a combo box can display values obtained from several data fields. By default, the displayed values are separated by a semicolon. Fields are stored in a collection of the BootstrapListBoxFieldCollection type, which can be accessed using the combo box's BootstrapComboBox.Fields property. An individual field can be accessed within the collection using indexer notation. A field can be mapped to a data source's column using the ListBoxColumn.FieldName property.

  • 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 BootstrapCheckBox 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.

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