BarContextMenuAutomationPeer Class
Exposes BarContextMenu types to UI Automation.
public class BarContextMenuAutomationPeer : ContextMenuAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ContextMenuAutomationPeer object
Constructors
BarContextMenuAutomationPeer(BarContextMenu)
Initializes a new instance of the BarContextMenuAutomationPeer class.
public BarContextMenuAutomationPeer(BarContextMenu owner)
Parameter | Type | Description |
---|---|---|
owner | BarContextMenu | The owner element. |
Methods
GetClassNameCore()
Gets the name of the ContextMenu that is associated with this ContextMenuAutomationPeer. This method is called by GetClassName().
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().