FlexLayout.Position

Syntax

Position: Object

Description

The Position property sets parameters of elements position in the container.

Comments

In the property value the JSON object containing following fields is set: Pack - vertical object position, the PP.FlexLayoutPack enumeration item, Align - alignment of items in the container, the PP.FlexLayoutAlign enumeration item, Flex - flexibility of the container items alignment, the PP.FlexLayoutFlex enumeration item.  

Use JSON or the setPosition method to set the property value and the getPosition method to get the property value.

More than two position types could not be set simultaneously. The Pack and Flex could not be combined.

Example

The example of property use is given on the Example of Creating the FlexLayout Component page.

See also:

FlexLayout