GoXam for WPF v3
OnVisualParentChanged Method (Part)
Northwoods.GoXam Namespace > Part Class : OnVisualParentChanged Method
A value of type System.Windows.DependencyObject that represents the previous parent of the System.Windows.Media.Visual object. If the System.Windows.Media.Visual object did not have a previous parent, the value of the parameter is a null reference (Nothing in Visual Basic).
Called when the parent of the visual object is changed.
Syntax
protected override void OnVisualParentChanged( 
   DependencyObject oldParent
)

Parameters

oldParent
A value of type System.Windows.DependencyObject that represents the previous parent of the System.Windows.Media.Visual object. If the System.Windows.Media.Visual object did not have a previous parent, the value of the parameter is a null reference (Nothing in Visual Basic).
Remarks
For example, this will detect a <Node> inside a <DataTemplate>.
See Also

Reference

Part Class
Part Members