The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapTreeViewNode Class

Declaration

export class BootstrapTreeViewNode extends Control

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.

Inheritance

Control
BootstrapTreeViewNode

Properties

index Property

Declaration

index: number

Property Value

Type Description
number

name Property

Declaration

name: string

Property Value

Type Description
string

parent Property

Declaration

parent: BootstrapTreeViewNode | null

Property Value

Type Description
BootstrapTreeViewNode
null

treeView Property

Declaration

treeView: BootstrapTreeView | null

Property Value

Type Description
BootstrapTreeView
null

Methods

getBadgeIconCssClass Method

Declaration

getBadgeIconCssClass(): string

Returns

Type Description
string

getBadgeText Method

Declaration

getBadgeText(): string

Returns

Type Description
string

getCheckState Method

Declaration

getCheckState(): string

Returns

Type Description
string

getChecked Method

Declaration

getChecked(): boolean

Returns

Type Description
boolean

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type Description
boolean

getExpanded Method

Declaration

getExpanded(): boolean

Returns

Type Description
boolean

getHtmlElement Method

Declaration

getHtmlElement(): any

Returns

Type Description
any

getIconCssClass Method

Declaration

getIconCssClass(): string

Returns

Type Description
string

getImageUrl Method

Declaration

getImageUrl(): string

Returns

Type Description
string

getNavigateUrl Method

Declaration

getNavigateUrl(): string

Returns

Type Description
string

getNode Method

Declaration

getNode(index: number): BootstrapTreeViewNode | null

Parameters

Name Type Description
index

Returns

Type Description
BootstrapTreeViewNode
null

getNodeByName Method

Declaration

getNodeByName(name: string): BootstrapTreeViewNode | null

Parameters

Name Type Description
name

Returns

Type Description
BootstrapTreeViewNode
null

getNodeByText Method

Declaration

getNodeByText(text: string): BootstrapTreeViewNode | null

Parameters

Name Type Description
text

Returns

Type Description
BootstrapTreeViewNode
null

getNodeCount Method

Declaration

getNodeCount(): number

Returns

Type Description
number

getText Method

Declaration

getText(): string

Returns

Type Description
string

getVisible Method

Declaration

getVisible(): boolean

Returns

Type Description
boolean

off Method

Declaration

off(eventName?: K, callback?: (this: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

on(eventName: K, callback: (this: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

once(eventName: K, callback: (this: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void): this

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

setBadgeIconCssClass Method

Declaration

setBadgeIconCssClass(cssClass: string): void

Parameters

Name Type Description
cssClass

setBadgeText Method

Declaration

setBadgeText(text: string): void

Parameters

Name Type Description
text

setChecked Method

Declaration

setChecked(value: boolean): void

Parameters

Name Type Description
value

setEnabled Method

Declaration

setEnabled(value: boolean): void

Parameters

Name Type Description
value

setExpanded Method

Declaration

setExpanded(value: boolean): void

Parameters

Name Type Description
value

setIconCssClass Method

Declaration

setIconCssClass(cssClass: string): void

Parameters

Name Type Description
cssClass

setImageUrl Method

Declaration

setImageUrl(value: string): void

Parameters

Name Type Description
value

setNavigateUrl Method

Declaration

setNavigateUrl(value: string): void

Parameters

Name Type Description
value

setText Method

Declaration

setText(value: string): void

Parameters

Name Type Description
value

setVisible Method

Declaration

setVisible(value: boolean): void

Parameters

Name Type Description
value