Properties
Name | Type | Default | Description |
---|---|---|---|
Behavior | |||
ChildContent |
RenderFragment |
null | Child content of the component. |
Max |
int |
0 | Max avatars to show before showing +x avatar, default value 0 has no max. |
Spacing |
int |
3 | Spacing between avatars where 0 is none and 16 max. |
Appearance | |||
MaxAvatarClass |
string |
null | Custom class/classes for MaxAvatar |
MaxAvatarsTemplate |
RenderFragment<int> |
null | Template that will be rendered when the number of avatars exceeds the maximum (parameter Max). |
MaxColor |
Color |
Color.Default | Color for the MaxAvatar. |
MaxElevation |
int |
0 | Elevation of the MaxAvatar the higher the number, the heavier the drop-shadow. |
MaxRounded |
bool |
False | If true, MaxAvatar will be rounded. |
MaxSize |
Size |
Size.Medium | Size of the MaxAvatar. |
MaxSquare |
bool |
False | If true, MaxAvatar border-radius is set to 0. |
MaxVariant |
Variant |
Variant.Filled | Variant of the MaxAvatar. |
OutlineColor |
Color |
Color.Surface | Sets the color of the outline if its used. |
Outlined |
bool |
True | Outlines the grouped avatars to distinguish them, useful when avatars are the same color or uses images. |
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. | |