Layout¶
The layout of ObjectCollection.
When assigning a rule to a property of Layout, the rule will be passed an instance of the following proxy class as an argument:
Layout Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| LayoutType | enum |
No | "Vertical" |
| MinimumInteritemSpacing | integer |
No | |
| NumberOfColumns | integer |
No | 2 |
LayoutType¶
HorizontalScroll type can be used in ObjectCollection extensions. iOS displays a scroll bar whereas Android has a blur effect to show scrollable collection.
- type:
enum - default:
Vertical
The value of this property must be one of the known values listed below.
| Value | Description |
|---|---|
HorizontalScroll |
Horizontaly scroll |
Vertical |
Vertically scoll |
MinimumInteritemSpacing¶
Minimum spaces between items in the collection.
- type:
integer
NumberOfColumns¶
The number of columns to be displayed. It is forced to 1 in compact mode, e.g. mobile portrait mode and certain smaller mobile landscape mode.
- type:
integer - default:
2