Table of Contents

Class EditorSelection

Namespace
Icy.Design.Editor
Assembly
IcyUI.Design.dll

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

Document DesignDocument

The design document the element's markup belongs to.

Node NodeId

The element's node in Document.

Instance UIElement

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.

Properties

Document

The design document the element's markup belongs to.

public DesignDocument Document { get; init; }

Property Value

DesignDocument

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

UIElement

Node

The element's node in Document.

public NodeId Node { get; init; }

Property Value

NodeId