Class PageIndicator
PageIndicator UI element. This element is used to display a list of dots that can be used to navigate between pages.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class PageIndicator : VisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, INotifyValueChanged<int>
Constructors
| Name | Description |
|---|---|
| PageIndicator() | Default constructor. |
Fields
| Name | Description |
|---|---|
| dotBackgroundUssClassName | The PageIndicator dot background styling class. |
| dotContentUssClassName | The PageIndicator dot content styling class. |
| dotUssClassName | The PageIndicator dot styling class. |
| ussClassName | The PageIndicator main styling class. |
| variantUssClassName | The PageIndicator direction styling class. |
Properties
| Name | Description |
|---|---|
| contentContainer | The content container of the PageIndicator. This is always null. |
| count | The number of dots. |
| direction | The PageIndicator direction (horizontal or vertical). |
| value | The currently selected dot index. |
Methods
| Name | Description |
|---|---|
| GoToNext() | Go to the next dot. |
| GoToPrevious() | Go to the previous dot. |
| SetValueWithoutNotify(int) | Set the value of the PageIndicator without notifying the listeners. |