Skip to main content

BootstrapCheckBoxList Class

#Declaration

TypeScript
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

TypeScript
getItem(
    index: number
): BootstrapListBoxItem | null

#Parameters

Name Type
index number

#Returns

Type
BootstrapListBoxItem
null

#getItemCount Method

#Declaration

TypeScript
getItemCount(): number

#Returns

Type
number

#getSelectedIndices Method

#Declaration

TypeScript
getSelectedIndices(): number[]

#Returns

Type
number[]

#getSelectedItems Method

#Declaration

TypeScript
getSelectedItems(): BootstrapListBoxItem[]

#Returns

Type
BootstrapListBoxItem[]

#getSelectedValues Method

#Declaration

TypeScript
getSelectedValues(): any[]

#Returns

Type
any[]

#off<K> Method

#Declaration

TypeScript
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

TypeScript
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

TypeScript
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

TypeScript
selectAll(): void

#selectIndices(indices) Method

#Declaration

TypeScript
selectIndices(
    indices: number[]
): void

#Parameters

Name Type
indices number[]

#selectItems(items) Method

#Declaration

TypeScript
selectItems(
    items: BootstrapListBoxItem[]
): void

#Parameters

Name Type
items BootstrapListBoxItem[]

#selectValues(values) Method

#Declaration

TypeScript
selectValues(
    values: any[]
): void

#Parameters

Name Type
values any[]

#unselectAll Method

#Declaration

TypeScript
unselectAll(): void

#unselectIndices(indices) Method

#Declaration

TypeScript
unselectIndices(
    indices: number[]
): void

#Parameters

Name Type
indices number[]

#unselectItems(items) Method

#Declaration

TypeScript
unselectItems(
    items: BootstrapListBoxItem[]
): void

#Parameters

Name Type
items BootstrapListBoxItem[]

#unselectValues(values) Method

#Declaration

TypeScript
unselectValues(
    values: any[]
): void

#Parameters

Name Type
values any[]