docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BaseGridView.UxmlTraits

    Defines BaseGridView.UxmlTraits for the BaseGridView.

    Inheritance
    object
    BaseUxmlTraits
    UxmlTraits
    VisualElement.UxmlTraits
    BindableElement.UxmlTraits
    BaseGridView.UxmlTraits
    GridView.UxmlTraits
    MasonryGridView.UxmlTraits
    Inherited Members
    VisualElement.UxmlTraits.m_Name
    VisualElement.UxmlTraits.m_PickingMode
    VisualElement.UxmlTraits.focusIndex
    VisualElement.UxmlTraits.focusable
    BaseUxmlTraits.canHaveAnyAttribute
    BaseUxmlTraits.uxmlAttributesDescription
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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
    VisualElement.UxmlTraits.uxmlChildElementsDescription

    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.

    Overrides
    BindableElement.UxmlTraits.Init(VisualElement, IUxmlAttributes, CreationContext)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)