LabelItem¶
When assigning a rule to a property of LabelItem, the rule will be passed an instance of the following proxy class as an argument:
LabelItem Properties¶
| Property | Type | Required | Default |
|---|---|---|---|
| Image | Image | No | |
| ImagePosition | enum |
No | "Trailing" |
| Style | TextClass | No | |
| Styles | object |
No | |
| Text | string |
No |
Image¶
The image to be displayed along with the title.
- type: Image
ImagePosition¶
Position of the image to be displayed along with the title
- type:
enum - default:
"Trailing"
The value of this property must be one of the known values listed below.
ImagePosition Known Values¶
| Value | Description |
|---|---|
Leading |
|
Trailing |
Style¶
The string value is a style class name for Text. If font-color is applied to Text, the property will also apply to
Image.
- Text style class
Styles¶
Supported in iOS only. Style to be applied on the LabelItem.
- type:
objectwith following properties.
| Property | Type | Required | Default |
|---|---|---|---|
| Image | string | No | |
| Text | string | No |
Image¶
The string value is a style class name for Image.
- Image style class
Text¶
The string value is a style class name for Text.
- Text style class
Text¶
- type:
string