Class BaseGridView.UxmlTraits
Defines BaseGridView.UxmlTraits for the BaseGridView.
Inheritance
BaseGridView.UxmlTraits
Inherited Members
VisualElement.UxmlTraits.m_Name
VisualElement.UxmlTraits.m_PickingMode
Namespace: Unity.Muse.AppUI.UI
Assembly: Unity.Muse.AppUI.dll
Syntax
public class BaseGridView.UxmlTraits : BindableElement.UxmlTraits
Remarks
This class defines the BaseGridView element properties that you can use in a UI document asset (UXML file).
Properties
uxmlChildElementsDescription
Returns an empty enumerable, because list views usually do not have child elements.
Declaration
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription { get; }
Property Value
Type | Description |
---|---|
IEnumerable<UxmlChildElementDescription> | An empty enumerable. |
Overrides
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initializes GridView properties using values from the attribute bag.
Declaration
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | ve | The object to initialize. |
IUxmlAttributes | bag | The attribute bag. |
CreationContext | cc | The creation context; unused. |