Window.OnVisualParentChanged Method
.NET Framework 4.6 and 4.5
Called when the parent of the window is changed.
Namespace: System.Windows
Assembly: PresentationFramework (in PresentationFramework.dll)
protected internal override sealed void OnVisualParentChanged( DependencyObject oldParent )
Parameters
- oldParent
- Type: System.Windows.DependencyObject
The previous parent. Set to null if the DependencyObject did not have a previous parent.
Show: