ContextMenuAutomationPeer.GetClassNameCore Method ()


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

Gets the name of the ContextMenu that is associated with this ContextMenuAutomationPeer. This method is called by GetClassName.

Namespace:   System.Windows.Automation.Peers
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override string GetClassNameCore()

Return Value

Type: System.String

A string that contains "ContextMenu".

.NET Framework
Available since 3.0
Return to top