Class Stepper
Stepper UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class Stepper : ExVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, INotifyValueChanged<int>
Constructors
| Name | Description |
|---|---|
| Stepper() | Default constructor. |
Fields
| Name | Description |
|---|---|
| buttonUssClassName | The Stepper general button styling class. |
| decButtonUssClassName | The Stepper decrement button styling class. |
| decIconContainerUssClassName | The Stepper decrement icon container styling class. |
| decIconUssClassName | The Stepper decrement icon styling class. |
| incButtonUssClassName | The Stepper increment button styling class. |
| incIconContainerUssClassName | The Stepper increment icon container styling class. |
| incIconUssClassName | The Stepper increment icon styling class. |
| sizeUssClassName | The Stepper size styling class. |
| ussClassName | The Stepper main styling class. |
Properties
| Name | Description |
|---|---|
| contentContainer | The content container of the Stepper. Always null. |
| size | The size of the Stepper. |
| value | The value of the Stepper. 1 means increment, -1 means decrement. It is not recommended to get or set this value directly. To track the changes of the value, use UnityEngine.UIElements.INotifyValueChangedExtensions.RegisterValueChangedCallback<T>(UnityEngine.UIElements.INotifyValueChanged<T>, UnityEngine.UIElements.EventCallback<UnityEngine.UIElements.ChangeEvent<T>>) instead. |
Methods
| Name | Description |
|---|---|
| SetValueWithoutNotify(int) | Set the value of the Stepper without notifying the listeners. |