LayoutFlexGetAlignContent

Syntax

AlignMode = LayoutFlexGetAlignContent(Layout)

Description

Retrieves the current alignment mode for lines along the cross axis when items wrap in a Flexbox layout container.

Parameters

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

Return Value

Returns one of the content alignment constants if successful:

#PG_Flex_AlignContent_Start
#PG_Flex_AlignContent_Center
#PG_Flex_AlignContent_End
#PG_Flex_AlignContent_SpaceAround
#PG_Flex_AlignContent_SpaceBetween
#PG_Flex_AlignContent_Stretch

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

See Also

LayoutSetType, LayoutFlexSetAlignContent, LayoutFlexSetWrap

Supported OS

Windows, Linux