FlipSwitchAutomationPeer Class
Exposes FlipSwitch types to UI Automation.
public class FlipSwitchAutomationPeer : GaugeBaseAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer GaugeBaseAutomationPeer object
Constructors
FlipSwitchAutomationPeer(FlipSwitch)
Exposes FlipSwitch types to UI Automation.
public FlipSwitchAutomationPeer(FlipSwitch owner)
| Parameter | Type | Description |
|---|---|---|
| owner | FlipSwitch | The owner. |
Methods
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.