Back to Devexpress

BootstrapCheckBoxList Class

aspnetbootstrap-devexpress-dot-web-dot-bootstrap-e51fa09e.md

latest4.3 KB
Original Source

BootstrapCheckBoxList Class

A control to display a list of check boxes.

Namespace : DevExpress.Web.Bootstrap

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

NuGet Package : DevExpress.Web.Bootstrap

Declaration

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

Remarks

Note

The BootstrapCheckBoxList 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 the basic functionality of the Check Box List control.

The image below shows the result:

aspx
<dx:BootstrapCheckBoxList runat="server">
    <Items>
        <dx:BootstrapListEditItem Text="WinForms" Value="WinForms" />
        <dx:BootstrapListEditItem Text="ASP.NET" Value="ASP.NET" Selected="true" />
        <dx:BootstrapListEditItem Text="ASP.NET MVC" Value="ASP.NET MVC" Selected="true" />
        <dx:BootstrapListEditItem Text="WPF" Value="WPF" />
    </Items>
</dx:BootstrapCheckBoxList>

Inheritance

Show 13 items

Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxDataWebControlBase ASPxDataWebControl ASPxEditBase ASPxEdit ASPxListEdit ASPxCheckListBase ASPxCheckBoxList BootstrapCheckBoxList

See Also

BootstrapCheckBoxList Members

DevExpress.Web.Bootstrap Namespace