Class Dropdown.UxmlTraits
Description class to bind UXML data with the instance of the VisualElement.
Namespace: Unity.Industrial.Forma.StandardUI
Syntax
public class UxmlTraits : BindableElement.UxmlTraits
Constructors
UxmlTraits()
Declaration
public UxmlTraits()
Properties
uxmlChildElementsDescription
Declaration
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription { get; }
Property Value
Type | Description |
---|---|
IEnumerable<UxmlChildElementDescription> |
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize Dropdown properties based on UXML data.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | The Dropdown object |
IUxmlAttributes | bag | The UXML attributes bag |
CreationContext | cc | The current context |