class MAGES::Editor::CollapsableTwoPaneSplitView::UxmlTraits

Overview

Defines UxmlTraits for the TwoPaneSplitView. More…

class UxmlTraits: public VisualElement.UxmlTraits
{
public:
    // properties

    override IEnumerable uxmlChildElementsDescription;

    // methods

    override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc);
};

Detailed Documentation

Defines UxmlTraits for the TwoPaneSplitView.

Properties

override IEnumerable uxmlChildElementsDescription

Gets an empty enumeration, as TwoPaneSplitView does not support adding children through UXML.

Methods

override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)

Initializes TwoPaneSplitView properties using values from the attribute bag.

Parameters:

ve

Root visual element.

bag

Bag of attributes.

cc

The creation context.