BarSplitButtonAutomationPeer Class
Exposes BarSplitButton types to UI Automation.
public class BarSplitButtonAutomationPeer : BarPopupButtonAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer BarPopupButtonBaseAutomationPeer BarPopupButtonAutomationPeer object
- Derived:
- BarSplitToggleButtonAutomationPeer
Constructors
BarSplitButtonAutomationPeer(BarSplitButton)
Initializes a new instance of the BarSplitButtonAutomationPeer class.
public BarSplitButtonAutomationPeer(BarSplitButton owner)
Parameter | Type | Description |
---|---|---|
owner | BarSplitButton | The owner element. |
Methods
GetAutomationControlTypeCore()
Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
The Custom enumeration value.
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by GetLocalizedControlType().
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
patternInterface
is SynchronizedInput; otherwise,null
.