Skip to main content

BootstrapCheckBoxList Class

Declaration

class BootstrapCheckBoxList extends BootstrapListBox

Remarks

IMPORTANT

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inherited Members

DevExpress.AspNetCore.BootstrapListBox.addItem
DevExpress.AspNetCore.BootstrapListBox.addItem
DevExpress.AspNetCore.BootstrapListBox.addItem
DevExpress.AspNetCore.BootstrapListBox.addItem
DevExpress.AspNetCore.BootstrapListBox.addItem
DevExpress.AspNetCore.BootstrapListBox.addItem
DevExpress.AspNetCore.BootstrapListBox.insertItem
DevExpress.AspNetCore.BootstrapListBox.insertItem
DevExpress.AspNetCore.BootstrapListBox.insertItem
DevExpress.AspNetCore.BootstrapListBox.insertItem
DevExpress.AspNetCore.BootstrapListBox.insertItem
DevExpress.AspNetCore.BootstrapListBox.insertItem
DevExpress.AspNetCore.BootstrapListBox.performCallback
DevExpress.AspNetCore.BootstrapListBox.performCallback

Inheritance

Methods

getItem(index) Method

Declaration

getItem(
    index: number
): BootstrapListBoxItem | null

Parameters

Name Type
index number

Returns

Type
BootstrapListBoxItem
null

getItemCount Method

Declaration

getItemCount(): number

Returns

Type
number

getSelectedIndices Method

Declaration

getSelectedIndices(): number[]

Returns

Type
number[]

getSelectedItems Method

Declaration

getSelectedItems(): BootstrapListBoxItem[]

Returns

Type
BootstrapListBoxItem[]

getSelectedValues Method

Declaration

getSelectedValues(): any[]

Returns

Type
any[]

off<K> Method

Declaration

off<K extends keyof BootstrapCheckBoxListEventMap>(
    eventName?: K,
    callback?: (this: BootstrapCheckBoxList,
    args?: BootstrapCheckBoxListEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapCheckBoxList, args?: BootstrapCheckBoxListEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

on<K extends keyof BootstrapCheckBoxListEventMap>(
    eventName: K,
    callback: (this: BootstrapCheckBoxList,
    args?: BootstrapCheckBoxListEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapCheckBoxList, args?: BootstrapCheckBoxListEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

once<K extends keyof BootstrapCheckBoxListEventMap>(
    eventName: K,
    callback: (this: BootstrapCheckBoxList,
    args?: BootstrapCheckBoxListEventMap[K]) => void
): this

Parameters

Name Type
eventName K
callback (this: BootstrapCheckBoxList, args?: BootstrapCheckBoxListEventMap[K]) => void

Type Parameters

Name Type
K keyof

Returns

Type
this

selectAll Method

Declaration

selectAll(): void

selectIndices(indices) Method

Declaration

selectIndices(
    indices: number[]
): void

Parameters

Name Type
indices number[]

selectItems(items) Method

Declaration

selectItems(
    items: BootstrapListBoxItem[]
): void

Parameters

Name Type
items BootstrapListBoxItem[]

selectValues(values) Method

Declaration

selectValues(
    values: any[]
): void

Parameters

Name Type
values any[]

unselectAll Method

Declaration

unselectAll(): void

unselectIndices(indices) Method

Declaration

unselectIndices(
    indices: number[]
): void

Parameters

Name Type
indices number[]

unselectItems(items) Method

Declaration

unselectItems(
    items: BootstrapListBoxItem[]
): void

Parameters

Name Type
items BootstrapListBoxItem[]

unselectValues(values) Method

Declaration

unselectValues(
    values: any[]
): void

Parameters

Name Type
values any[]