8.6 Released with 🥽 visionOS support and more!
Check it out
DockLayout
A Layout that arranges its children at its outer edges, and allows its last child to take up the remaining space.

Summary ​

Constructors

constructor

Properties

stretchLastChild
161 properties inherited from LayoutBase
Click to expand

Methods

getDock
setDock
122 methods inherited from LayoutBase
Click to expand

Constructors ​

constructor ​

new DockLayout(): DockLayout

Properties ​

stretchLastChild ​

stretchLastChild: boolean
Gets or sets a value that indicates whether the last child element within a DockLayout stretches to fill the remaining available space. The default value is true.

Methods ​

getDock ​

Static
getDock(view: View): DockType
Gets the value of the Dock property from a given View.
Parameter Default Description
view

Returns DockType

setDock ​

Static
setDock(view: View, value: DockType): void
Sets the value of the Dock property from a given View.
Parameter Default Description
view

value

Returns void