Class EditorSelection
The element an EditorSession has selected.
public sealed record EditorSelection : IEquatable<EditorSelection>
- Inheritance
-
EditorSelection
- Implements
- Inherited Members
- Extension Methods
Constructors
EditorSelection(DesignDocument, NodeId, UIElement)
The element an EditorSession has selected.
public EditorSelection(DesignDocument Document, NodeId Node, UIElement Instance)
Parameters
DocumentDesignDocumentThe design document the element's markup belongs to.
NodeNodeIdThe element's node in
Document.InstanceUIElementThe live copy that was picked. When the same file is loaded more than once, edits still apply to every copy; this is the one adorners follow.
Properties
Document
The design document the element's markup belongs to.
public DesignDocument Document { get; init; }
Property Value
Instance
The live copy that was picked. When the same file is loaded more than once, edits still apply to every copy; this is the one adorners follow.
public UIElement Instance { get; init; }
Property Value
Node
The element's node in Document.
public NodeId Node { get; init; }