MaterialCard display content and actions about a single subject.
View Material Design documentation
<material3:MaterialCard
Type="Elevated"
CornerRadius="16,16,0,16">
<material3:MaterialLabel
Text="Elevated type card" />
</material3:MaterialCard>
Gets or sets card type.
- Elevated
- Filled (Default)
- Outlined
- Custom
Gets or sets card background color.
Gets or sets a Command to be executed when card is tapped.
Gets or sets a parameter to be passed to command when card is tapped.
Indicates if card is enabled or not.
Gets or sets animation to be executed when card is tapped.
- None
- Fade (Default)
- Scale
- Custom
Gets or sets a parameter to be passed to animation when card is tapped.
Gets or sets a custom animation to be executed when card is tapped.
Gets or sets if card has shadow. Applies only to Custom
type.
Gets or sets shadow color. Applies only to Custom
or Elevated
type.
Indicates if card has border. Applies only to Custom
or Outlined
type.
Gets or sets border color. Applies only to Custom
or Outlined
type.
Gets or sets border width. Applies only to Custom
or Outlined
type.
Gets or sets corner radius. Can be set as uniform radius value (ie. 8
) or individual radius values (topLeft, topRight, bottomLeft, bottomRight)
(ie. 8,8,0,0
for upper rounded corners and lower plain ones).
Gets or sets radius value for shadow. Applies only to Custom
or Elevated
type.
Gets or sets shadow opacity. Applies only to Custom
or Elevated
type.
Gets or sets shadow offset (width, height)
. Applies only to Custom
or Elevated
type.
Gets or sets shadow elevation. Applies only to Custom
or Elevated
type.