Control Class
# Declaration
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.
# Properties
# name Property
# Declaration
# Property Value
# Methods
# adjustControl Method
# Declaration
# getHeight Method
# Declaration
# Returns
# getMainElement Method
# Declaration
# Returns
# getParentControl Method
# Declaration
# Returns
# getVisible Method
# Declaration
# Returns
# getWidth Method
# Declaration
# Returns
# inCallback Method
# Declaration
# Returns
# off<K> Method
# Declaration
TypeScript
off<K extends keyof ControlEventMap>(): this
# Type Parameters
# Returns
# off<K>(eventName) Method
# Declaration
TypeScript
off<K extends keyof ControlEventMap>(
eventName: K
): this
# Parameters
# Type Parameters
# Returns
# off<K>(eventName, callback) Method
# Declaration
TypeScript
off<K extends keyof ControlEventMap>(
eventName: K,
callback: (this : Control,
args?: ControlEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: Control , args?: ControlEventMap[K]) => void
# Type Parameters
# Returns
# on<K>(eventName, callback) Method
# Declaration
TypeScript
on<K extends keyof ControlEventMap>(
eventName: K,
callback: (this : Control,
args?: ControlEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: Control , args?: ControlEventMap[K]) => void
# Type Parameters
# Returns
# once<K>(eventName, callback) Method
# Declaration
TypeScript
once<K extends keyof ControlEventMap>(
eventName: K,
callback: (this : Control,
args?: ControlEventMap[K]) => void
): this
# Parameters
Name
Type
eventName
K
callback
(this: Control , args?: ControlEventMap[K]) => void
# Type Parameters
# Returns
# sendMessageToAssistiveTechnology(message) Method
# Declaration
TypeScript
sendMessageToAssistiveTechnology(
message: string
): void
# Parameters
# setHeight(height) Method
# Declaration
TypeScript
setHeight(
height: number
): void
# Parameters
# setVisible(visible) Method
# Declaration
TypeScript
setVisible(
visible: boolean
): void
# Parameters
Name
Type
visible
boolean
# setWidth(width) Method
# Declaration
TypeScript
setWidth(
width: number
): void
# Parameters