LayoutGridGetJustifyItems

Syntax

JustifyMode = LayoutGridGetJustifyItems(Layout)

Description

Retrieves the current default horizontal 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 justification constants if successful:

#PG_Grid_JustifyItems_Start
#PG_Grid_JustifyItems_Center
#PG_Grid_JustifyItems_End

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

See Also

LayoutSetType, LayoutGridSetJustifyItems

Supported OS

Windows, Linux