Class BoundsField
Bounds Field UI element.
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: solution.dll
Syntax
public class BoundsField : BaseVisualElement, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IInputElement<Bounds>, IValidatableElement<Bounds>, ISizeableElement, INotifyValueChanging<Bounds>, INotifyValueChanged<Bounds>
Constructors
BoundsField()
Default constructor.
Declaration
public BoundsField()
Fields
labelUssClassName
The BoundsField Label styling class.
Declaration
public static readonly string labelUssClassName
Field Value
Type | Description |
---|---|
string |
rowUssClassName
The BoundsField row styling class.
Declaration
public static readonly string rowUssClassName
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The BoundsField size styling class.
Declaration
public static readonly string sizeUssClassName
Field Value
Type | Description |
---|---|
string |
sxFieldUssClassName
The BoundsField X NumericalField styling class.
Declaration
public static readonly string sxFieldUssClassName
Field Value
Type | Description |
---|---|
string |
syFieldUssClassName
The BoundsField Y NumericalField styling class.
Declaration
public static readonly string syFieldUssClassName
Field Value
Type | Description |
---|---|
string |
szFieldUssClassName
The BoundsField Z NumericalField styling class.
Declaration
public static readonly string szFieldUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The BoundsField main styling class.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
xFieldUssClassName
The BoundsField X NumericalField styling class.
Declaration
public static readonly string xFieldUssClassName
Field Value
Type | Description |
---|---|
string |
yFieldUssClassName
The BoundsField Y NumericalField styling class.
Declaration
public static readonly string yFieldUssClassName
Field Value
Type | Description |
---|---|
string |
zFieldUssClassName
The BoundsField Z NumericalField styling class.
Declaration
public static readonly string zFieldUssClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of the BoundsField. Always null.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
VisualElement |
Overrides
invalid
Set the validation state of the BoundsField.
Declaration
public bool invalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
size
The BoundsField size.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
validateValue
The validation function of the BoundsField.
Declaration
public Func<Bounds, bool> validateValue { get; set; }
Property Value
Type | Description |
---|---|
Func<Bounds, bool> |
value
The value of the BoundsField.
Declaration
public Bounds value { get; set; }
Property Value
Type | Description |
---|---|
Bounds |
Methods
SetValueWithoutNotify(Bounds)
Sets the value of the BoundsField without notifying the value changed callback.
Declaration
public void SetValueWithoutNotify(Bounds newValue)
Parameters
Type | Name | Description |
---|---|---|
Bounds | newValue | The new value of the BoundsField. |