PointerBaseAutomationPeer Class
Exposes PointerBase types to UI Automation.
public class PointerBaseAutomationPeer : FrameworkElementAutomationPeer
- Inheritance:
- object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Constructors
PointerBaseAutomationPeer(PointerBase)
Initializes a new instance of the PointerBaseAutomationPeer class.
public PointerBaseAutomationPeer(PointerBase owner)
Parameter | Type | Description |
---|---|---|
owner | PointerBase | The owner. |
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.
GetClassNameCore()
Gets the name of the UIElement that is associated with this PointerBaseAutomationPeer. This method is called by GetClassName().
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
patternInterface
isPatternInterface.RangeValue
.
-
If