OnVisualParentChanged Method

MenuItem.OnVisualParentChanged Method (DependencyObject)

 

Called when the parent of the visual MenuItem changes.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected internal override void OnVisualParentChanged(
	DependencyObject oldParent
)

Parameters

oldParent
Type: System.Windows.DependencyObject

Old value of the parent of the visual, or null if the visual did not have a parent.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft