BarSplitToggleButtonAutomationPeer Class
Exposes BarSplitToggleButton types to UI Automation.
public class BarSplitToggleButtonAutomationPeer : BarSplitButtonAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer BarPopupButtonBaseAutomationPeer BarPopupButtonAutomationPeer BarSplitButtonAutomationPeer object
Constructors
BarSplitToggleButtonAutomationPeer(BarSplitToggleButton)
Initializes a new instance of the BarSplitToggleButtonAutomationPeer class.
public BarSplitToggleButtonAutomationPeer(BarSplitToggleButton owner)
Parameter | Type | Description |
---|---|---|
owner | BarSplitToggleButton | The owner element. |
Methods
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
.