PopupButtonContentAreaAutomationPeer Class
Exposes the indicator area of PopupButton types to UI Automation.
public class PopupButtonContentAreaAutomationPeer : AutomationDecoratorAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer AutomationDecoratorAutomationPeer object
Constructors
PopupButtonContentAreaAutomationPeer(PopupButtonContentAreaAutomationDecorator)
Initializes a new instance of the PopupButtonContentAreaAutomationPeer class.
public PopupButtonContentAreaAutomationPeer(PopupButtonContentAreaAutomationDecorator indicatorAreaDecorator)
Parameter | Type | Description |
---|---|---|
indicatorAreaDecorator | PopupButtonContentAreaAutomationDecorator |
Methods
GetAutomationIdCore()
Gets the automation ID for the element associated with this UI Automation peer.
protected override string GetAutomationIdCore()
Returns
- string:
The automation ID for the element associated with this UI Automation peer.
GetPattern(PatternInterface)
Gets the control pattern that is associated with the specified PatternInterface.
public override object GetPattern(PatternInterface patternInterface)
Parameter | Type | Description |
---|---|---|
patternInterface | PatternInterface | A value from the PatternInterface enumeration. |
Returns
- object:
The object that implements the pattern interface;
null
if the peer does not support this interface.