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