|
|
|
|
FlexDirection (Property) In french: FlexDirection
The FlexDirection property gets and sets the direction of the main axis of a Flexbox control (corresponding CSS property: "flex-direction").
FLEX_MyFlexbox.FlexDirection = fbdColumn
FLEX_MyFlexbox.FlexWrap = fbwWrap
FLEX_MyFlexbox.FlexJustifyContent = fbjcCenter
FLEX_MyFlexbox.FlexAlignContent = fbacEnd
FLEX_MyFlexbox.FlexAlignItems = fbaiCenter
FLEX_MyFlexbox.FlexColumnGap = 5
FLEX_MyFlexbox.FlexRowGap = 50
Syntax
Getting the direction of the main axis of a Flexbox control Hide the details
<Result> = <Control used>.FlexDirection
<Result>: Integer constant Direction in which items will be laid out in the Flexbox control:
| | fbdColumn | Items are laid out vertically, from top to bottom. | fbdColumnReverse | Items are laid out vertically, from bottom to top. | fbdRow | Items are laid out horizontally, from left to right. | fbdRowReverse | Items are laid out horizontally, from right to left. |
<Control used>: Control name Name of the Flexbox control used.
Setting the direction of the main axis of a Flexbox control Hide the details
<Control used>.FlexDirection = <New characteristics>
<Control used>: Control name Name of the Flexbox control used. <New characteristics>: Integer constant Direction in which items should be laid out in the Flexbox control:
| | fbdColumn | Items are laid out vertically, from top to bottom. | fbdColumnReverse | Items are laid out vertically, from bottom to top. | fbdRow | Items are laid out horizontally, from left to right. | fbdRowReverse | Items are laid out horizontally, from right to left. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|