In This Article

ApplicationMenuAutomationPeer Class

Exposes ribbon control types to UI Automation.

public class ApplicationMenuAutomationPeer : FrameworkElementAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object

Constructors

ApplicationMenuAutomationPeer(ItemsControl)

Initializes an instance of the ApplicationMenuAutomationPeer class.

public ApplicationMenuAutomationPeer(ItemsControl owner)
Parameter Type Description
owner ItemsControl

The owner of the automation peer.

Methods

GetAutomationControlTypeCore()

Gets the AutomationControlType for the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

A AutomationControlType indicating the control type.