Menu.OnCreateAutomationPeer Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Provides an appropriate MenuAutomationPeer implementation for this control, as part of the WPF automation infrastructure.

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

override OnCreateAutomationPeer : unit -> AutomationPeer

Return Value

Type: System.Windows.Automation.Peers.AutomationPeer

The type-specific AutomationPeer implementation.

.NET Framework
Available since 3.0
Return to top