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)
Exposes the indicator area of PopupButton types to UI Automation.
public PopupButtonContentAreaAutomationPeer(PopupButtonContentAreaAutomationDecorator indicatorAreaDecorator)
| Parameter | Type | Description |
|---|---|---|
| indicatorAreaDecorator | PopupButtonContentAreaAutomationDecorator |
Methods
GetAutomationIdCore()
Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. Called by GetAutomationId().
protected override string GetAutomationIdCore()
Returns
- string:
The automation identifier for the element associated with the FrameworkElementAutomationPeer, or Empty if there isn't an automation identifier.
GetPattern(PatternInterface)
Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.
public override object? GetPattern(PatternInterface patternInterface)
| Parameter | Type | Description |
|---|---|---|
| patternInterface | PatternInterface | A value from the enumeration. |
Returns
- object:
An object that implements the ISynchronizedInputProvider interface if
patternInterfaceis SynchronizedInput; otherwise,null.
Inherited Members
- AutomationDecoratorAutomationPeer.GetAutomationControlTypeCore()
- AutomationDecoratorAutomationPeer.GetChildrenCore()
- AutomationDecoratorAutomationPeer.GetClassNameCore()