PopupButtonAutomationPeer Class
Exposes PopupButton types to UI Automation.
public class PopupButtonAutomationPeer : ButtonAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ButtonBaseAutomationPeer ButtonAutomationPeer object
- Derived:
- RibbonGroupCollapsedButtonAutomationPeer RibbonQuickAccessToolBarOverflowButtonAutomationPeer StandaloneToolBarOverflowButtonAutomationPeer
Constructors
PopupButtonAutomationPeer(PopupButton)
Exposes PopupButton types to UI Automation.
public PopupButtonAutomationPeer(PopupButton owner)
| Parameter | Type | Description |
|---|---|---|
| owner | PopupButton | The owner. |
Methods
GetAutomationControlTypeCore()
Gets the control type of the element that is associated with the UI Automation peer.
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
The Button enumeration value.
GetClassNameCore()
Gets the name of the control that is associated with this UI Automation peer.
GetPattern(PatternInterface)
Gets the object that supports the specified control pattern of the element that is associated with this automation peer.
public override object? GetPattern(PatternInterface patternInterface)
| Parameter | Type | Description |
|---|---|---|
| patternInterface | PatternInterface | A value in the enumeration. |