class MAGES::Editor::CollapsableTwoPaneSplitView::UxmlTraits¶
Overview¶
Defines UxmlTraits for the TwoPaneSplitView. More…
class UxmlTraits: public VisualElement.UxmlTraits { public: // properties override IEnumerableuxmlChildElementsDescription; // methods override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc); };
Detailed Documentation¶
Defines UxmlTraits for the TwoPaneSplitView.
Properties¶
override IEnumerableuxmlChildElementsDescription
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. |