Skip to main content

BootstrapFormLayout Class

#Declaration

TypeScript
class BootstrapFormLayout 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
BootstrapFormLayout

#Methods

#getItemByName(name) Method

#Declaration

TypeScript
getItemByName(
    name: string
): BootstrapFormLayoutItem | null

#Parameters

Name Type
name string

#Returns

Type
BootstrapFormLayoutItem
null

#off<K> Method

#Declaration

TypeScript
off<K extends keyof BootstrapFormLayoutEventMap>(
    eventName?: K,
    callback?: (this: BootstrapFormLayout,
    args?: BootstrapFormLayoutEventMap[K]) => void
): this

#Parameters

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

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#on<K>(eventName, callback) Method

#Declaration

TypeScript
on<K extends keyof BootstrapFormLayoutEventMap>(
    eventName: K,
    callback: (this: BootstrapFormLayout,
    args?: BootstrapFormLayoutEventMap[K]) => void
): this

#Parameters

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

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#once<K>(eventName, callback) Method

#Declaration

TypeScript
once<K extends keyof BootstrapFormLayoutEventMap>(
    eventName: K,
    callback: (this: BootstrapFormLayout,
    args?: BootstrapFormLayoutEventMap[K]) => void
): this

#Parameters

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

#Type Parameters

Name Type
K keyof

#Returns

Type
this