WindowAutomationPeer WindowAutomationPeer WindowAutomationPeer WindowAutomationPeer Class

Definition

Exposes Window types to UI Automation.

public ref class WindowAutomationPeer : System::Windows::Automation::Peers::FrameworkElementAutomationPeer
public class WindowAutomationPeer : System.Windows.Automation.Peers.FrameworkElementAutomationPeer
type WindowAutomationPeer = class
    inherit FrameworkElementAutomationPeer
Public Class WindowAutomationPeer
Inherits FrameworkElementAutomationPeer
Inheritance
Derived

Constructors

WindowAutomationPeer(Window) WindowAutomationPeer(Window) WindowAutomationPeer(Window) WindowAutomationPeer(Window)

Initializes a new instance of the WindowAutomationPeer class.

Methods

CheckAccess() CheckAccess() CheckAccess() CheckAccess()

Determines whether the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAcceleratorKey() GetAcceleratorKey() GetAcceleratorKey() GetAcceleratorKey()

Gets the accelerator key combinations for the element that is associated with the UI Automation peer.

(Inherited from AutomationPeer)
GetAcceleratorKeyCore() GetAcceleratorKeyCore() GetAcceleratorKeyCore() GetAcceleratorKeyCore()

Gets the accelerator key for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAcceleratorKey().

(Inherited from UIElementAutomationPeer)
GetAccessKey() GetAccessKey() GetAccessKey() GetAccessKey()

Gets the access key for the element that is associated with the automation peer.

(Inherited from AutomationPeer)
GetAccessKeyCore() GetAccessKeyCore() GetAccessKeyCore() GetAccessKeyCore()

Gets the access key for the UIElement that is associated with this UIElementAutomationPeer.This method is called by GetAccessKey().

(Inherited from UIElementAutomationPeer)
GetAutomationControlType() GetAutomationControlType() GetAutomationControlType() GetAutomationControlType()

Gets the control type for the element that is associated with the UI Automation peer.

(Inherited from AutomationPeer)
GetAutomationControlTypeCore() GetAutomationControlTypeCore() GetAutomationControlTypeCore() GetAutomationControlTypeCore()

Gets the control type for the Window that is associated with this WindowAutomationPeer. Called by GetAutomationControlType().

GetAutomationId() GetAutomationId() GetAutomationId() GetAutomationId()

Gets the AutomationId of the element that is associated with the automation peer.

(Inherited from AutomationPeer)
GetAutomationIdCore() GetAutomationIdCore() GetAutomationIdCore() GetAutomationIdCore()

Gets the string that uniquely identifies the FrameworkElement that is associated with this FrameworkElementAutomationPeer. Called by GetAutomationId().

(Inherited from FrameworkElementAutomationPeer)
GetBoundingRectangle() GetBoundingRectangle() GetBoundingRectangle() GetBoundingRectangle()

Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer.

(Inherited from AutomationPeer)
GetBoundingRectangleCore() GetBoundingRectangleCore() GetBoundingRectangleCore() GetBoundingRectangleCore()

Gets the Rect representing the bounding rectangle of the Window that is associated with this WindowAutomationPeer. Called by GetBoundingRectangle().

GetChildren() GetChildren() GetChildren() GetChildren()

Gets the collection of GetChildren() elements that are represented in the UI Automation tree as immediate child elements of the automation peer.

(Inherited from AutomationPeer)
GetChildrenCore() GetChildrenCore() GetChildrenCore() GetChildrenCore()

Gets the collection of child elements of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetChildren().

(Inherited from UIElementAutomationPeer)
GetClassName() GetClassName() GetClassName() GetClassName()

Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer.

(Inherited from AutomationPeer)
GetClassNameCore() GetClassNameCore() GetClassNameCore() GetClassNameCore()

Gets the name of the Window that is associated with this WindowAutomationPeer. Called by GetClassName().

GetClickablePoint() GetClickablePoint() GetClickablePoint() GetClickablePoint()

Gets a Point on the element that is associated with the automation peer that responds to a mouse click.

(Inherited from AutomationPeer)
GetClickablePointCore() GetClickablePointCore() GetClickablePointCore() GetClickablePointCore()

Gets a Point that represents the clickable space that is on the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClickablePoint().

(Inherited from UIElementAutomationPeer)
GetControlledPeers() GetControlledPeers() GetControlledPeers() GetControlledPeers()

Provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(Inherited from AutomationPeer)
GetControlledPeersCore() GetControlledPeersCore() GetControlledPeersCore() GetControlledPeersCore()

When overridden in a derived class, provides UI Automation with a list of elements affected or controlled by this AutomationPeer.

(Inherited from AutomationPeer)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetHelpText() GetHelpText() GetHelpText() GetHelpText()

Gets text that describes the functionality of the control that is associated with the automation peer.

(Inherited from AutomationPeer)
GetHelpTextCore() GetHelpTextCore() GetHelpTextCore() GetHelpTextCore()

Gets the string that describes the functionality of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetHelpText().

(Inherited from FrameworkElementAutomationPeer)
GetHostRawElementProviderCore() GetHostRawElementProviderCore() GetHostRawElementProviderCore() GetHostRawElementProviderCore()

Tells UI Automation where in the UI Automation tree to place the hwnd being hosted by a Windows Presentation Foundation (WPF) element.

(Inherited from AutomationPeer)
GetItemStatus() GetItemStatus() GetItemStatus() GetItemStatus()

Gets text that conveys the visual status of the element that is associated with this automation peer.

(Inherited from AutomationPeer)
GetItemStatusCore() GetItemStatusCore() GetItemStatusCore() GetItemStatusCore()

Gets a string that communicates the visual status of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetItemStatus().

(Inherited from UIElementAutomationPeer)
GetItemType() GetItemType() GetItemType() GetItemType()

Gets a string that describes what kind of item an object represents.

(Inherited from AutomationPeer)
GetItemTypeCore() GetItemTypeCore() GetItemTypeCore() GetItemTypeCore()

Gets a human-readable string that contains the item type that the UIElement for this UIElementAutomationPeer represents. This method is called by GetItemType().

(Inherited from UIElementAutomationPeer)
GetLabeledBy() GetLabeledBy() GetLabeledBy() GetLabeledBy()

Gets the AutomationPeer for the Label that is targeted to the element.

(Inherited from AutomationPeer)
GetLabeledByCore() GetLabeledByCore() GetLabeledByCore() GetLabeledByCore()

Gets the AutomationPeer for the Label that is targeted to the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetLabeledBy().

(Inherited from FrameworkElementAutomationPeer)
GetLiveSetting() GetLiveSetting() GetLiveSetting() GetLiveSetting()

Gets the notification characteristics of a live region that is associated with this automation peer.

(Inherited from AutomationPeer)
GetLiveSettingCore() GetLiveSettingCore() GetLiveSettingCore() GetLiveSettingCore()

Gets the notification characteristics of the live region of the UIElement object that is associated with this UIElementAutomationPeer. This method is called by GetLiveSetting().

(Inherited from UIElementAutomationPeer)
GetLocalizedControlType() GetLocalizedControlType() GetLocalizedControlType() GetLocalizedControlType()

Gets a human-readable localized string that represents the AutomationControlType value for the control that is associated with this automation peer.

(Inherited from AutomationPeer)
GetLocalizedControlTypeCore() GetLocalizedControlTypeCore() GetLocalizedControlTypeCore() GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

(Inherited from AutomationPeer)
GetName() GetName() GetName() GetName()

Gets text that describes the element that is associated with this automation peer.

(Inherited from AutomationPeer)
GetNameCore() GetNameCore() GetNameCore() GetNameCore()

Gets the text label of the Window that is associated with this ContentElementAutomationPeer. Called by GetName().

GetOrientation() GetOrientation() GetOrientation() GetOrientation()

Gets a value that indicates the explicit control orientation, if any.

(Inherited from AutomationPeer)
GetOrientationCore() GetOrientationCore() GetOrientationCore() GetOrientationCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is laid out in a specific direction. This method is called by GetOrientation().

(Inherited from UIElementAutomationPeer)
GetParent() GetParent() GetParent() GetParent()

Gets the AutomationPeer that is the parent of this AutomationPeer.

(Inherited from AutomationPeer)
GetPattern(PatternInterface) GetPattern(PatternInterface) GetPattern(PatternInterface) GetPattern(PatternInterface)

Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.

(Inherited from UIElementAutomationPeer)
GetPeerFromPoint(Point) GetPeerFromPoint(Point) GetPeerFromPoint(Point) GetPeerFromPoint(Point)

Gets an AutomationPeer from the specified point.

(Inherited from AutomationPeer)
GetPeerFromPointCore(Point) GetPeerFromPointCore(Point) GetPeerFromPointCore(Point) GetPeerFromPointCore(Point)

When overridden in a derived class, is called from GetPeerFromPoint(Point).

(Inherited from AutomationPeer)
GetPositionInSet() GetPositionInSet() GetPositionInSet() GetPositionInSet()

Attempts to get the value of the PositionInSet property.

(Inherited from AutomationPeer)
GetPositionInSetCore() GetPositionInSetCore() GetPositionInSetCore() GetPositionInSetCore()

Reads PositionInSetProperty and returns the value of the PositionInSet attached property.

(Inherited from UIElementAutomationPeer)
GetSizeOfSet() GetSizeOfSet() GetSizeOfSet() GetSizeOfSet()

Attempts to get the value of the SizeOfSet property.

(Inherited from AutomationPeer)
GetSizeOfSetCore() GetSizeOfSetCore() GetSizeOfSetCore() GetSizeOfSetCore()

Provides a value for UI Automation's SizeOfSet property.

(Inherited from UIElementAutomationPeer)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
HasKeyboardFocus() HasKeyboardFocus() HasKeyboardFocus() HasKeyboardFocus()

Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.

(Inherited from AutomationPeer)
HasKeyboardFocusCore() HasKeyboardFocusCore() HasKeyboardFocusCore() HasKeyboardFocusCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer currently has keyboard input focus. This method is called by HasKeyboardFocus().

(Inherited from UIElementAutomationPeer)
InvalidatePeer() InvalidatePeer() InvalidatePeer() InvalidatePeer()

Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the Automation Client if the properties changed.

(Inherited from AutomationPeer)
IsContentElement() IsContentElement() IsContentElement() IsContentElement()

Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.

(Inherited from AutomationPeer)
IsContentElementCore() IsContentElementCore() IsContentElementCore() IsContentElementCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is an element that contains data that is presented to the user. This method is called by IsContentElement().

(Inherited from UIElementAutomationPeer)
IsControlElement() IsControlElement() IsControlElement() 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.

(Inherited from AutomationPeer)
IsControlElementCore() IsControlElementCore() IsControlElementCore() IsControlElementCore()

Gets or sets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is understood by the end user as interactive. Optionally, the user might understand the UIElement as contributing to the logical structure of the control in the GUI. This method is called by IsControlElement().

(Inherited from UIElementAutomationPeer)
IsEnabled() IsEnabled() IsEnabled() IsEnabled()

Gets a value that indicates whether the element associated with this automation peer supports interaction.

(Inherited from AutomationPeer)
IsEnabledCore() IsEnabledCore() IsEnabledCore() IsEnabledCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer can accept keyboard focus. This method is called by IsKeyboardFocusable().

(Inherited from UIElementAutomationPeer)
IsKeyboardFocusable() IsKeyboardFocusable() IsKeyboardFocusable() IsKeyboardFocusable()

Gets a value that indicates whether the element can accept keyboard focus.

(Inherited from AutomationPeer)
IsKeyboardFocusableCore() IsKeyboardFocusableCore() IsKeyboardFocusableCore() IsKeyboardFocusableCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer can accept keyboard focus. This method is called by IsKeyboardFocusable().

(Inherited from UIElementAutomationPeer)
IsOffscreen() IsOffscreen() IsOffscreen() IsOffscreen()

Gets a value that indicates whether an element is off the screen.

(Inherited from AutomationPeer)
IsOffscreenCore() IsOffscreenCore() IsOffscreenCore() IsOffscreenCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is off the screen. This method is called by IsOffscreen().

(Inherited from UIElementAutomationPeer)
IsPassword() IsPassword() IsPassword() IsPassword()

Gets a value that indicates whether the element contains sensitive content.

(Inherited from AutomationPeer)
IsPasswordCore() IsPasswordCore() IsPasswordCore() IsPasswordCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer contains protected content. This method is called by IsPassword().

(Inherited from UIElementAutomationPeer)
IsRequiredForForm() IsRequiredForForm() IsRequiredForForm() IsRequiredForForm()

Gets a value that indicates whether the element that is associated with this peer must be completed on a form.

(Inherited from AutomationPeer)
IsRequiredForFormCore() IsRequiredForFormCore() IsRequiredForFormCore() IsRequiredForFormCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is required to be completed on a form. This method is called by IsRequiredForForm().

(Inherited from UIElementAutomationPeer)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PeerFromProvider(IRawElementProviderSimple) PeerFromProvider(IRawElementProviderSimple) PeerFromProvider(IRawElementProviderSimple) PeerFromProvider(IRawElementProviderSimple)

Gets an AutomationPeer for the specified IRawElementProviderSimple proxy.

(Inherited from AutomationPeer)
ProviderFromPeer(AutomationPeer) ProviderFromPeer(AutomationPeer) ProviderFromPeer(AutomationPeer) ProviderFromPeer(AutomationPeer)

Gets the IRawElementProviderSimple for the specified AutomationPeer.

(Inherited from AutomationPeer)
RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs) RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs) RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs) RaiseAsyncContentLoadedEvent(AsyncContentLoadedEventArgs)

Called by the AutomationPeer to raise the AsyncContentLoadedEvent event.

(Inherited from AutomationPeer)
RaiseAutomationEvent(AutomationEvents) RaiseAutomationEvent(AutomationEvents) RaiseAutomationEvent(AutomationEvents) RaiseAutomationEvent(AutomationEvents)

Raises an automation event.

(Inherited from AutomationPeer)
RaisePropertyChangedEvent(AutomationProperty, Object, Object) RaisePropertyChangedEvent(AutomationProperty, Object, Object) RaisePropertyChangedEvent(AutomationProperty, Object, Object) RaisePropertyChangedEvent(AutomationProperty, Object, Object)

Raises an event to notify the automation client of a changed property value.

(Inherited from AutomationPeer)
ResetChildrenCache() ResetChildrenCache() ResetChildrenCache() ResetChildrenCache()

Synchronously resets the tree of child elements by calling GetChildrenCore().

(Inherited from AutomationPeer)
SetFocus() SetFocus() SetFocus() SetFocus()

Sets the keyboard focus on the element that is associated with this automation peer.

(Inherited from AutomationPeer)
SetFocusCore() SetFocusCore() SetFocusCore() SetFocusCore()

Sets the keyboard input focus on the UIElement that is associated with this UIElementAutomationPeer. This method is called by SetFocus().

(Inherited from UIElementAutomationPeer)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
VerifyAccess() VerifyAccess() VerifyAccess() VerifyAccess()

Enforces that the calling thread has access to this DispatcherObject.

(Inherited from DispatcherObject)

Properties

Dispatcher Dispatcher Dispatcher Dispatcher

Gets the Dispatcher this DispatcherObject is associated with.

(Inherited from DispatcherObject)
EventsSource EventsSource EventsSource EventsSource

Gets or sets an AutomationPeer that is reported to the automation client as a source for all the events that come from this AutomationPeer.

(Inherited from AutomationPeer)
IsHwndHost IsHwndHost IsHwndHost IsHwndHost

Gets a value that indicates whether the element that is associated with this AutomationPeer hosts hwnds in Windows Presentation Foundation (WPF).

(Inherited from AutomationPeer)
Owner Owner Owner Owner

Gets the UIElement that is associated with this UIElementAutomationPeer.

(Inherited from UIElementAutomationPeer)

Applies to