Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | Child content of the component. |
Appearance | |||
Elevation |
int |
1 | The higher the number, the heavier the drop-shadow. |
Height |
string |
null | Height of the component. |
MaxHeight |
string |
null | Max-Height of the component. |
MaxWidth |
string |
null | Max-Width of the component. |
MinHeight |
string |
null | Min-Height of the component. |
MinWidth |
string |
null | Min-Width of the component. |
Outlined |
bool |
False | If true, card will be outlined. |
Square |
bool |
False | If true, border-radius is set to 0. |
Width |
string |
null | Width of the component. |
Common | |||
Class |
string |
null | User class names, separated by space. |
Style |
string |
null | User styles, applied on top of the component's own classes and styles. |
Tag |
object |
null | Use Tag to attach any user data object to the component for your convenience. |
UserAttributes |
Dictionary<string, object> |
UserAttributes carries all attributes you add to the component that don't match any of its parameters. They will be splatted onto the underlying HTML tag. | |