Button Layout¶
button layout properties for a collection view as those used in the ButtonCollection section.
When assigning a rule to a property of Button Layout, the rule will be passed an instance of the following proxy class as an argument:
Button Layout Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| HorizontalAlignment | enum |
No | "Leading" |
| LayoutType | enum |
No | "Vertical" |
HorizontalAlignment¶
the alignment of buttons when layout type is horizontal.
- type:
enum - default:
"Leading"
The value of this property must be one of the known values listed below.
HorizontalAlignment Known Values¶
| Value | Description |
|---|---|
Leading |
|
Center |
|
Trailing |
LayoutType¶
layout types.
- type:
enum - default:
"Vertical"
The value of this property must be one of the known values listed below.
LayoutType Known Values¶
| Value | Description |
|---|---|
Horizontal |
|
Vertical |
Examples¶
"Layout": {
"LayoutType": "Horizontal"
}
"Layout": {
"LayoutType": "Vertical"
}
"Layout": {
"LayoutType": "Horizontal",
"HorizontalAlignment": "Center"
}