Class IntField
A VisualElement that displays a numeric value and allows the user to edit it.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class IntField : NumericalField<int>, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IValidatableElement<int>, ISizeableElement, INotifyValueChanging<int>, INotifyValueChanged<int>
Constructors
Name | Description |
---|---|
IntField() | Default constructor. |
Methods
Name | Description |
---|---|
AreEqual(int, int) | Check if two values of type TValueType are equal. |
GetIncrementFactor(int) | Calculate the increment factor based on a base value. |
Increment(int, float) | Increment a given value with a given delta. |
Max(int, int) | Return the biggest value between a and b. |
Min(int, int) | Return the smallest value between a and b. |
ParseStringToValue(string, out int) | Define the conversion from the string value to a TValueType value. |
ParseValueToString(int) | Define the conversion from a TValueType value to a string value. |