OnCreateAutomationPeer Method

ContextMenu.OnCreateAutomationPeer Method ()

 

Creates and returns a ContextMenuAutomationPeer object for this ContextMenu.

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

protected override AutomationPeer OnCreateAutomationPeer()

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