Stack layout concept base class.
More...
#include <kanzi/ui/node/concept/stack_layout.hpp>
Stack layout concept base class.
- Note
- Do not use this class directly. To use a stack layout in your application use StackLayout3D or StackLayout2D.
StackLayoutConcept defines the data and property types used to implement a stack layout. StackLayoutConceptImpl derives from StackLayoutConcept to provide the functionality to implement a stack layout. To implement a custom stack layout derive from StackLayoutConceptImpl.
Direction in which stack layout arranges its items.
Enumerator |
---|
DirectionX |
Arrange items along the x axis.
|
DirectionY |
Arrange items along the y axis.
|
DirectionZ |
Arrange items along the z axis.
|
static size_t kanzi::StackLayoutConcept::directionToIndex |
( |
LayoutDirection |
direction | ) |
|
|
inlinestatic |
static size_t kanzi::StackLayoutConcept::directionToOppositeIndex |
( |
LayoutDirection |
direction | ) |
|
|
inlinestatic |
Direction property.
Defines the axis along which the stack layout arranges its items. The default value is StackLayoutConcept::DirectionX.
- See also
- setDirection(), getDirection()
PropertyType<bool> kanzi::StackLayoutConcept::ReversedProperty |
|
static |
Reversed property.
Defines whether the stack layout arranges its items in reverse order. The default value is false.
- See also
- setReversed(), isReversed()
The documentation for this class was generated from the following file: