Class ActionGroup
ActionGroup UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class ActionGroup : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle
Constructors
| Name | Description |
|---|---|
| ActionGroup() | Default constructor. |
Fields
| Name | Description |
|---|---|
| compactUssClassName | The ActionGroup compact mode styling class. |
| containerUssClassName | The ActionGroup container styling class. |
| justifiedUssClassName | The ActionGroup justified mode styling class. |
| moreButtonUssClassName | The ActionGroup More Button styling class. |
| quietUssClassName | The ActionGroup quiet mode styling class. |
| selectableUssClassName | The ActionGroup selectable mode styling class. |
| ussClassName | The ActionGroup main styling class. |
| verticalUssClassName | The ActionGroup vertical mode styling class. |
Properties
| Name | Description |
|---|---|
| closeOnSelection | Whether the ActionGroup's menu popover should close when a selection is made. |
| compact | The compact state of the ActionGroup. |
| contentContainer | The content container of the ActionGroup. |
| justified | The justified state of the ActionGroup. |
| quiet | The quiet state of the ActionGroup. |
| selectionType | The selection type of the ActionGroup. |
| vertical | The vertical state of the ActionGroup. |
Methods
| Name | Description |
|---|---|
| ClearSelection() | Deselects any selected items. |
| ClearSelectionWithoutNotify() | Deslects any selected items without sending an event through the visual tree. |
| SetSelection(IEnumerable<int>) | Sets a collection of selected items. |
| SetSelectionWithoutNotify(IEnumerable<int>) | Sets a collection of selected items without triggering a selection change callback. |
Events
| Name | Description |
|---|---|
| selectionChanged | Event sent when the selection changes. |