Class Tabs
Tabs UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Tabs : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, INotifyValueChanged<int>
Constructors
| Name | Description |
|---|---|
| Tabs() | Default constructor. |
Fields
| Name | Description |
|---|---|
| containerUssClassName | The Tabs container styling class. |
| emphasizedUssClassName | The Tabs emphasized mode styling class. |
| indicatorUssClassName | The Tabs indicator styling class. |
| orientationUssClassName | The Tabs direction styling class. |
| sizeUssClassName | The Tabs size styling class. |
| ussClassName | The Tabs main styling class. |
Properties
| Name | Description |
|---|---|
| bindItem | Method to bind the TabItem. |
| contentContainer | The virtual content container of the Tabs. |
| defaultValue | The default value of the Tabs. This is the value that will be selected if no value is set. |
| direction | The direction of the Tabs. Horizontal or Vertical. |
| emphasized | The emphasized mode of the Tabs. |
| itemContainer | The item container of the Tabs. |
| size | The size of the Tabs. |
| sourceItems | Collection of items used to populate the Tabs. |
| value | The value of the Tabs. This is the index of the selected TabItem. |
Methods
| Name | Description |
|---|---|
| GoToNext() | Go to the next TabItem. |
| GoToPrevious() | Go to the previous TabItem. |
| SetValueWithoutNotify(int) | Set the value of the Tabs without notifying the change. |