LabelBar¶
Contains label bar and its items.
When assigning a rule to a property of LabelBar, the rule will be passed an instance of the following proxy class as an argument:
LabelBar Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| BindingCollection | Bindable | No | |
| Item | LabelBarItem | No | |
| ItemSeparator | boolean |
No | false |
| Items | complex | Yes | |
| Layout | object |
No | |
| _Name | string |
No | |
| _Type | const |
Yes |
BindingCollection¶
Definition of the BindingCollection to dynamically populate the collection. You can set this to binding/rule to return an array of data items.
Note: If this is set to binding/rule, you must return an array of data items.
- type: Bindable
Item¶
Dynamic binding of Item. The item can only be label bar item. Item must be paired with BindingCollection.
- type: LabelBarItem
ItemSeparator¶
To visually separate the items by adding a separator dot between the items. Only applicable to horizontal layout.
- type:
boolean - default:
false
Items¶
Contains items to be displayed in a row of LabelBar. Items is ignored if Item and BindingCollection are
defined.
- type: complex
Items Value¶
Any following options needs to be fulfilled.
Option 1¶
Array of label bar item.
Array type:
All items must be of the type:
Option 2¶
Expects return of LabelBarItem in array format.
Layout¶
Card body content label bar layout properties.
- type:
objectwith following properties.
| Property | Type | Required | Default |
|---|---|---|---|
LayoutType |
string | No | Horizontal |
LayoutType¶
Layout orientation for the label bar items
The value of this property must be one of the known values listed below.
| Value |
|---|
Horizontal |
Vertical |
_Name¶
- type:
string
_Type¶
- type:
const
The value of this property must be:
"CardBodyContent.Type.LabelBar"