IPanel.contextType

public UIElements.ContextType contextType;

Description

Describes in which context a VisualElement hierarchy is being run.

The context type of a Panel affects how it resolves certain styles and receives specific events. For example, drag-and-drop and command events are only sent to Editor-type Panels.

Additional resources: DragAndDropEventBase<T0>, CommandEventBase<T0>


Did you find this page useful? Please give it a rating: