ObjectCard¶
ObjectCard Properties¶
Property | Type | Required | Default |
---|---|---|---|
Description | string |
Optional | |
DetailImage | Image | Optional | |
DetailImageIsCircular | boolean |
Optional | false |
Footnote | string |
Optional | |
OnPress | ActionOrRule | Optional | |
OverflowButtons | OverflowButton | Optional | |
PrimaryAction | ActionItem | Optional | |
SecondaryAction | ActionItem | Optional | |
StatusText | string |
Optional | |
Styles | object |
Optional | |
Subhead | string |
Optional | |
Title | string |
Optional | |
Visible | boolean |
Optional | true |
_Name | string |
Optional |
Description¶
Will not be displayed if control is rendered within FlexibleColumnLayout (except for last column).
- type:
string
DetailImage¶
Image to be displayed in the cell.
- type: Image
DetailImageIsCircular¶
If the value is true, the image is displayed in a circular shape.
- type:
boolean
- default:
false
Footnote¶
Text of footnote, which is initially hidden. Setting a non-empty string would no longer hide the label. This is supported only for iOS & Android.
- type:
string
OnPress¶
Action/Rule to be triggered when the object cell is pressed.
- type: ActionOrRule
- Formatter and Binding are not supported
OverflowButtons¶
Defines the ActionItems for the Object Card.
- type: OverflowButton
PrimaryAction¶
Defines the primary action button for the Object Card.
- type: ActionItem
SecondaryAction¶
Defines the secondary action button for the Object Card.
- type: ActionItem
StatusText¶
A status label displayed in the status view. It’s expected to either set StatusText
or StatusImage
to display
either one as the same position. When both are set, StatusImage
would be displayed in priority. Would not be
displayed if control is rendered within FlexibleColumnLayout (except for last column), use StatusImage
instead.
- type:
string
Styles¶
Style to be applied on the object card.
- type:
object
with following properties.
Property | Type | Required | Default |
---|---|---|---|
Description | string |
Optional | |
Footnote | string |
Optional | |
StatusText | string |
Optional | |
Subhead | string |
Optional | |
Title | string |
Optional | |
BackgroundColor | string |
Optional |
Description¶
The string value is a style class name for Description
.
- TextPaint style class
Footnote¶
The string value is a style class name for Footnote
.
- TextPaint style class
StatusText¶
The string value is a style class name for StatusText
.
- Value style class
Subhead¶
The string value is a style class name for Subhead
.
- TextPaint style class
Title¶
The string value is a style class name for Title
.
- TextPaint style class
BackgroundColor¶
The string value is a style class name for BackgroundColor
.
- Background style class
Subhead¶
A sub-header label in the main view.
- type:
string
Title¶
Title text to be displayed on the cell
- type:
string
Visible¶
Only valid for static section, will be ignored in dynamic sections and List pickers.
- type:
boolean
- default:
true
_Name¶
- type:
string