PointerBaseAutomationPeer Class
Exposes PointerBase types to UI Automation.
public class PointerBaseAutomationPeer : FrameworkElementAutomationPeer, IRangeValueProvider
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.Automation.Peers.AutomationPeer System.Windows.Automation.Peers.UIElementAutomationPeer System.Windows.Automation.Peers.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 System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by GetAutomationControlType().
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
- AutomationControlType:
The Custom enumeration value.
GetClassNameCore()
Gets the name of the System.Windows.UIElement that is associated with this PointerBaseAutomationPeer. This method is called by GetClassName().
protected override string GetClassNameCore()
Returns
- System.String:
The
Type.Name
of theOwner
.
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.RangeValue
.
-
If
Inherited Members
- 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()