Class EditorContext
The EditorContext may be used to represent the current state of the editor for particular actions. It encompasses the last recorded mouse position, the list of selected elements, and may contain custom arguments to encode additional state information.
public class EditorContext
- Inheritance
-
EditorContext
- Inherited Members
Properties
Args
Custom arguments.
public IDictionary<string, object> Args { get; init; }
Property Value
LastMousePosition
The last recorded mouse position.
public Point? LastMousePosition { get; init; }
Property Value
SelectedElementIds
The list of selected element identifiers.
public string[] SelectedElementIds { get; init; }
Property Value
- string[]