PopupButtonIndicatorAreaAutomationPeer Class
Exposes the indicator area of PopupButton types to UI Automation.
public class PopupButtonIndicatorAreaAutomationPeer : AutomationDecoratorAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer AutomationDecoratorAutomationPeer object
Constructors
PopupButtonIndicatorAreaAutomationPeer(PopupButtonIndicatorAreaAutomationDecorator)
Initializes a new instance of the PopupButtonIndicatorAreaAutomationPeer class.
public PopupButtonIndicatorAreaAutomationPeer(PopupButtonIndicatorAreaAutomationDecorator indicatorAreaDecorator)
Parameter | Type | Description |
---|---|---|
indicatorAreaDecorator | PopupButtonIndicatorAreaAutomationDecorator |
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.