BarMenuControlWrapperAutomationPeer Class
Exposes BarMenuControlWrapper types to UI Automation.
public class BarMenuControlWrapperAutomationPeer : MenuItemAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer MenuItemAutomationPeer object
Constructors
BarMenuControlWrapperAutomationPeer(BarMenuControlWrapper)
Initializes a new instance of the BarMenuControlWrapperAutomationPeer class.
public BarMenuControlWrapperAutomationPeer(BarMenuControlWrapper owner)
Parameter | Type | Description |
---|---|---|
owner | BarMenuControlWrapper | The owner element. |
Methods
GetClassNameCore()
Gets the name of the MenuItem that is associated with this MenuItemAutomationPeer. Called by GetClassName().
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
GetNameCore()
Gets the text label of the MenuItem that is associated with this MenuItemAutomationPeer. Called by GetName().