MapCore.OnVisualParentChanged Method (DependencyObject)
Invoked when the parent of this element in the visual tree is changed. Overrides System.Windows.UIElement.OnVisualParentChanged.
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
protected override void OnVisualParentChanged(
DependencyObject oldParent
)
protected:
virtual void OnVisualParentChanged(
DependencyObject^ oldParent
) override
override OnVisualParentChanged :
oldParent:DependencyObject -> unit
Protected Overrides Sub OnVisualParentChanged (
oldParent As DependencyObject
)
Parameters
oldParent
Type: System.Windows.DependencyObjectThe old parent element. May be nullNothingnullptra null reference (Nothing in Visual Basic) to indicate that the element did not have a visual parent previously. (Type: System.Windows.DependencyObject)
See Also
MapCore Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top