Class OutlineItem
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
IsHealthy
Gets a value indicating whether the live pages follow the element's markup.
public bool IsHealthy { get; }
Property Value
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
Node
Gets the id of the markup element this row shows.
public NodeId Node { get; }
Property Value
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