LedAutomationPeer Class
Exposes Led types to UI Automation.
public class LedAutomationPeer : GaugeBaseAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer GaugeBaseAutomationPeer object
Constructors
LedAutomationPeer(Led)
Initializes a new instance of the LedAutomationPeer class.
public LedAutomationPeer(Led owner)
| Parameter | Type | Description |
|---|---|---|
| owner | Led | The owner. |
Methods
GetPattern(PatternInterface)
Gets the object that supports the specified control pattern of the element that is associated with this automation peer.
public override object GetPattern(PatternInterface patternInterface)
| Parameter | Type | Description |
|---|---|---|
| patternInterface | PatternInterface | A value in the enumeration. |
Returns
- object:
This method will return a 'this' pointer in the follow cases:
-
If
patternInterfaceisPatternInterface.Value.
-
If