Class AvatarGroup
AvatarGroup UI element.
Implements
Inherited Members
Namespace: Global Namespace
Assembly: solution.dll
Syntax
public class AvatarGroup : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
Name | Description |
---|---|
AvatarGroup() | Defines the AvatarGroup constructor. |
Fields
Name | Description |
---|---|
spacingUssClassName | The AvatarGroup spacing styling class. |
surplusUssClassName | The AvatarGroup surplus styling class. |
ussClassName | The AvatarGroup main styling class. |
Properties
Name | Description |
---|---|
bindItem | Method used to bind an item to a child Avatar. |
contentContainer | The AvatarGroup content container. |
max | The maximum number of avatars to display before the overflow. |
renderSurplus | The custom render function for the surplus avatars. |
size | The size of avatars. |
sourceItems | The collection of items that will be displayed as Radio component. |
spacing | The spacing between avatars. |
total | The AvatarGroup total count. |
variant | The AvatarGroup variant. |
Methods
Name | Description |
---|---|
GetDefaultSurplusElement(int) | The default surplus VisualElement. |
Refresh() | Refresh the AvatarGroup. |
SetCustomTotal(int?) | Set a custom AvatarGroup total count instead of the child count. |