LayoutGridGetAlignContent

Syntax

AlignMode = LayoutGridGetAlignContent(Layout)

Description

Retrieves the current vertical alignment mode for the entire grid structure within its container.

Parameters

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

Return Value

Returns one of the content alignment constants if successful:

#PG_Grid_AlignContent_Start
#PG_Grid_AlignContent_Center
#PG_Grid_AlignContent_End
#PG_Grid_AlignContent_SpaceAround
#PG_Grid_AlignContent_SpaceBetween
#PG_Grid_AlignContent_SpaceEvenly

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

See Also

LayoutSetType, LayoutGridSetAlignContent

Supported OS

Windows, Linux