Table of Contents

Class SubtreeReplacedEventArgs

Namespace
Icy.Design
Assembly
IcyUI.Design.dll

Describes a live subtree an edit had to rebuild instead of updating in place.

public sealed class SubtreeReplacedEventArgs : EventArgs
Inheritance
SubtreeReplacedEventArgs
Inherited Members
Extension Methods

Remarks

Code that holds references to elements inside OldElement should drop them: they no longer belong to the page.

Constructors

SubtreeReplacedEventArgs(NodeId, UIElement, UIElement)

Describes a live subtree an edit had to rebuild instead of updating in place.

public SubtreeReplacedEventArgs(NodeId node, UIElement oldElement, UIElement newElement)

Parameters

node NodeId

The markup element the subtree was built from.

oldElement UIElement

The subtree that was removed from the page.

newElement UIElement

The subtree that took its place.

Remarks

Code that holds references to elements inside OldElement should drop them: they no longer belong to the page.

Properties

NewElement

Gets the subtree that took its place.

public UIElement NewElement { get; }

Property Value

UIElement

Node

Gets the markup element the subtree was built from.

public NodeId Node { get; }

Property Value

NodeId

OldElement

Gets the subtree that was removed from the page.

public UIElement OldElement { get; }

Property Value

UIElement