ParentChanged
Introduction
Code Example: Handling Parent Changed
var child= new ContainerRuntime();
child.ParentChanged += (_,_) => System.Diagnostics.Debug.WriteLine("parent changed");
var parent = new ContainerRuntime();
// the following code raises the event 4 times
parent.Children.Add(child);
parent.Children.Remove(child);
child.Parent = parent;
child.Parent = null;Last updated
Was this helpful?

