Class BoundsIntField
BoundsInt Field UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class BoundsIntField : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder, IInputElement<BoundsInt>, IValidatableElement<BoundsInt>, ISizeableElement, INotifyValueChanging<BoundsInt>, INotifyValueChanged<BoundsInt>
Constructors
BoundsIntField()
Default constructor.
Declaration
public BoundsIntField()
Fields
labelUssClassName
The BoundsIntField Label styling class.
Declaration
public const string labelUssClassName = "appui-boundsfield__label"
Field Value
Type | Description |
---|---|
string |
rowUssClassName
The BoundsIntField row styling class.
Declaration
public const string rowUssClassName = "appui-boundsfield__row"
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The BoundsIntField size styling class.
Declaration
public const string sizeUssClassName = "appui-boundsfield--size-"
Field Value
Type | Description |
---|---|
string |
sxFieldUssClassName
The BoundsIntField X NumericalField styling class.
Declaration
public const string sxFieldUssClassName = "appui-boundsfield__sx-field"
Field Value
Type | Description |
---|---|
string |
syFieldUssClassName
The BoundsIntField Y NumericalField styling class.
Declaration
public const string syFieldUssClassName = "appui-boundsfield__sy-field"
Field Value
Type | Description |
---|---|
string |
szFieldUssClassName
The BoundsIntField Z NumericalField styling class.
Declaration
public const string szFieldUssClassName = "appui-boundsfield__sz-field"
Field Value
Type | Description |
---|---|
string |
ussClassName
The BoundsIntField main styling class.
Declaration
public const string ussClassName = "appui-boundsfield"
Field Value
Type | Description |
---|---|
string |
xFieldUssClassName
The BoundsIntField X NumericalField styling class.
Declaration
public const string xFieldUssClassName = "appui-boundsfield__x-field"
Field Value
Type | Description |
---|---|
string |
yFieldUssClassName
The BoundsIntField Y NumericalField styling class.
Declaration
public const string yFieldUssClassName = "appui-boundsfield__y-field"
Field Value
Type | Description |
---|---|
string |
zFieldUssClassName
The BoundsIntField Z NumericalField styling class.
Declaration
public const string zFieldUssClassName = "appui-boundsfield__z-field"
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of the BoundsIntField. Always null.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
invalid
Set the validation state of the BoundsIntField.
Declaration
public bool invalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
size
The BoundsIntField size.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
validateValue
The validation function to use on the BoundsIntField value.
Declaration
public Func<BoundsInt, bool> validateValue { get; set; }
Property Value
Type | Description |
---|---|
Func<BoundsInt, bool> |
value
The BoundsIntField value.
Declaration
public BoundsInt value { get; set; }
Property Value
Type | Description |
---|---|
BoundsInt |
Methods
GetSizeUssClassName(Size)
Declaration
public static string GetSizeUssClassName(Size enumValue)
Parameters
Type | Name | Description |
---|---|---|
Size | enumValue |
Returns
Type | Description |
---|---|
string |
SetValueWithoutNotify(BoundsInt)
Sets the BoundsIntField value without notifying any change event listeners.
Declaration
public void SetValueWithoutNotify(BoundsInt newValue)
Parameters
Type | Name | Description |
---|---|---|
BoundsInt | newValue | The new value to set. |