Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

AutomationPeer Methods

The AutomationPeer type exposes the following members.

  NameDescription
Public method CheckAccess Determines whether the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAcceleratorKey Gets the accelerator key combinations for the element that is associated with the UI Automation peer. 
Protected method GetAcceleratorKeyCore When overridden in a derived class, is called by GetAcceleratorKey.
Public method GetAccessKey Gets the access key for the element that is associated with the automation peer.
Protected method GetAccessKeyCore When overridden in a derived class, is called by GetAccessKey.
Public method GetAutomationControlType Gets the control type for the element that is associated with the UI Automation peer.
Protected method GetAutomationControlTypeCore When overridden in a derived class, is called by GetAutomationControlType.
Public method GetAutomationId Gets the AutomationId of the element that is associated with the automation peer.
Protected method GetAutomationIdCore When overridden in a derived class, is called by GetAutomationId.
Public method GetBoundingRectangle Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.
Protected method GetBoundingRectangleCore When overridden in a derived class, is called by GetBoundingRectangle.
Public method GetChildren Gets the collection of GetChildren elements that are represented in the UI Automation tree as immediate child elements of the automation peer.
Protected method GetChildrenCore When overridden in a derived class, is called by GetChildren.
Public method GetClassName Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.
Protected method GetClassNameCore When overridden in a derived class, is called by GetClassName.
Public method GetClickablePoint Gets a Point on the element that is associated with the automation peer that responds to a mouse click.
Protected method GetClickablePointCore When overridden in a derived class, is called by GetClickablePoint.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetHelpText Gets text that describes the functionality of the control that is associated with the automation peer.
Protected method GetHelpTextCore When overridden in a derived class, is called by GetHelpText.
Protected method GetHostRawElementProviderCore Tells UI Automation where in the UI Automation tree to place the hwnd being hosted by a Windows Presentation Foundation (WPF) element.
Public method GetItemStatus Gets text that conveys the visual status of the element that is associated with this automation peer.
Protected method GetItemStatusCore When overridden in a derived class, is called by GetItemStatus.
Public method GetItemType Gets a string that describes what kind of item an object represents.
Protected method GetItemTypeCore When overridden in a derived class, is called by GetItemType.
Public method GetLabeledBy Gets the AutomationPeer for the Label that is targeted to the element.
Protected method GetLabeledByCore When overridden in a derived class, is called by GetLabeledBy.
Public method GetLocalizedControlType Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.
Protected method GetLocalizedControlTypeCore When overridden in a derived class, is called by GetLocalizedControlType.
Public method GetName Gets text that describes the element that is associated with this automation peer.
Protected method GetNameCore When overridden in a derived class, is called by GetName.
Public method GetOrientation Gets a value that indicates the explicit control orientation, if any.
Protected method GetOrientationCore When overridden in a derived class, is called by GetOrientation.
Public method GetParent Gets the AutomationPeer that is the parent of this AutomationPeer.
Public method GetPattern When overridden in a derived class, gets the control pattern that is associated with the specified PatternInterface.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method HasKeyboardFocus Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.
Protected method HasKeyboardFocusCore When overridden in a derived class, is called by HasKeyboardFocus.
Public method InvalidatePeer Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the Automation Client if the properties changed.
Public method IsContentElement Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.
Protected method IsContentElementCore When overridden in a derived class, is called by IsContentElement.
Public method IsControlElement Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI.
Protected method IsControlElementCore When overridden in a derived class, is called by IsControlElement.
Public method IsEnabled Gets a value that indicates whether the element associated with this automation peer supports interaction.
Protected method IsEnabledCore When overridden in a derived class, is called by IsEnabled.
Public method IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus.
Protected method IsKeyboardFocusableCore When overridden in a derived class, is called by IsKeyboardFocusable.
Public method IsOffscreen Gets a value that indicates whether an element is off the screen.
Protected method IsOffscreenCore When overridden in a derived class, is called by IsOffscreen.
Public method IsPassword Gets a value that indicates whether the element contains sensitive content.
Protected method IsPasswordCore When overridden in a derived class, is called by IsPassword.
Public method IsRequiredForForm Gets a value that indicates whether the element that is associated with this peer must be completed on a form.
Protected method IsRequiredForFormCore When overridden in a derived class, is called by IsRequiredForForm.
Public method Static member ListenerExists Gets a value that indicates whether UI Automation is listening for the specified event. 
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method PeerFromProvider Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.
Protected method ProviderFromPeer Gets the IRawElementProviderSimple for the specified AutomationPeer.
Public method RaiseAsyncContentLoadedEvent Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.
Public method RaiseAutomationEvent Raises an automation event.
Public method RaisePropertyChangedEvent Raises an event to notify the automation client of a changed property value.
Public method ResetChildrenCache Synchronously resets the tree of child elements by calling GetChildrenCore.
Public method SetFocus Sets the keyboard focus on the element that is associated with this automation peer.
Protected method SetFocusCore When overridden in a derived class, is called by SetFocus.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyAccess Enforces that the calling thread has access to this DispatcherObject. (Inherited from DispatcherObject.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.