Table of Contents

Class OutlineItem

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

One row of an OutlinePanel: a markup element of the shown document.

public sealed class OutlineItem : INotifyPropertyChanged
Inheritance
OutlineItem
Implements
Inherited Members
Extension Methods

Remarks

Items are kept per NodeId while the panel shows the same document, so an edit updates existing items instead of replacing them, and the tree keeps its expansion and selection.

Properties

Children

Gets the rows of the element's content elements, in markup order.

public ObservableCollection<OutlineItem> Children { get; }

Property Value

ObservableCollection<OutlineItem>

IsHealthy

Gets a value indicating whether the live pages follow the element's markup.

public bool IsHealthy { get; }

Property Value

bool

Remarks

false while the document is out of sync (see IsInSync). The MVP tracks this per document, so every item of an out-of-sync document reports it.

Label

Gets the text the row shows: the element's type, followed by its quoted name when it has one.

public string Label { get; }

Property Value

string

Node

Gets the id of the markup element this row shows.

public NodeId Node { get; }

Property Value

NodeId

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler