LedAutomationPeer Class
Exposes Led types to UI Automation.
public class LedAutomationPeer : GaugeBaseAutomationPeer, IValueProvider
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.Automation.Peers.AutomationPeer System.Windows.Automation.Peers.UIElementAutomationPeer System.Windows.Automation.Peers.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 | System.Windows.Automation.Peers.PatternInterface | A value in the enumeration. |
Returns
- System.Object:
This method will return a 'this' pointer in the follow cases:
-
If
patternInterface
isPatternInterface.Value
.
-
If
Inherited Members
- GaugeBaseAutomationPeer.GetAutomationControlTypeCore()
- GaugeBaseAutomationPeer.GetClassNameCore()
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()