LayoutGridGetAlignItems

Syntax

AlignMode = LayoutGridGetAlignItems(Layout)

Description

Retrieves the current default vertical alignment mode for items within their grid cells in a Grid layout container.

Parameters

Layout
The handle of the Grid layout object. If #Null, it targets the current layout.

Return Value

Returns one of the item alignment constants if successful:

#PG_Grid_AlignItems_Start
#PG_Grid_AlignItems_Center
#PG_Grid_AlignItems_End

Returns #False (0) if the layout handle is invalid or if the layout is not of type Grid.

See Also

LayoutSetType, LayoutGridSetAlignItems

Supported OS

Windows, Linux