Skip to main content

BootstrapFormLayout Class

Declaration

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

getItemByName(
    name: string
): BootstrapFormLayoutItem | null

Parameters

Name Type
name string

Returns

Type
BootstrapFormLayoutItem
null

off<K> Method

Declaration

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

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

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