ContextMenu::OnVisualParentChanged Method (DependencyObject^)
.NET Framework (current version)
Called when a context menu's visual parent changes.
Assembly: PresentationFramework (in PresentationFramework.dll)
public protected: virtual void OnVisualParentChanged( DependencyObject^ oldParent ) override
Parameters
- oldParent
-
Type:
System.Windows::DependencyObject^
The object that the context menu was previously attached to.
.NET Framework
Available since 3.0
Available since 3.0
Show: