In This Article

AvatarGroupPanel Class

The items panel for an AvatarGroup.

public class AvatarGroupPanel : OverflowingItemsControlPanelBase, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, IStyleable, INamed, IInputElement, IDataTemplateHost, ISetterValue, IChildIndexProvider, INavigableContainer, IOrientedElement
Inheritance:
object AvaloniaObject Animatable StyledElement Visual Layoutable Interactive InputElement Control Panel VirtualizingPanel OverflowingItemsControlPanelBase object
Implements:
IDataContextProvider ILogical IThemeVariantHost IResourceHost IResourceNode IStyleHost ISetLogicalParent ISetInheritanceParent IStyleable INamed IInputElement IDataTemplateHost ISetterValue IChildIndexProvider INavigableContainer IOrientedElement

Constructors

AvatarGroupPanel()

Initializes an instance of the class.

public AvatarGroupPanel()

Properties

Orientation

The orientation of the control.

public Orientation Orientation { get; }

Property Value

Orientation

Methods

ArrangeOverride(Size)

Positions child elements as part of a layout pass.

protected override Size ArrangeOverride(Size finalSize)
Parameter Type Description
finalSize Size

The size available to the control.

Returns

Size:

The actual size used.

GetControl(NavigationDirection, IInputElement?, bool)

Gets the next control in the specified direction.

protected override IInputElement? GetControl(NavigationDirection direction, IInputElement? from, bool wrap)
Parameter Type Description
direction NavigationDirection

The movement direction.

from IInputElement

The control from which movement begins.

wrap bool

Whether to wrap around when the first or last item is reached.

Returns

IInputElement:

The control.

MeasureOverride(Size)

Measures the control and its child elements as part of a layout pass.

protected override Size MeasureOverride(Size availableSize)
Parameter Type Description
availableSize Size

The size available to the control.

Returns

Size:

The desired size for the control.

Inherited Members

Extension Methods