ControlAutomationPeer Class

An automation peer which represents a Control element.

Definition

Constructors

ControlAutomationPeer(Control)Initializes a new instance of the ControlAutomationPeer class

Properties

Methods

BringIntoView Attempts to bring the element associated with the automation peer into view.
(Inherited from AutomationPeer)
BringIntoViewCore
(Overrides AutomationPeerBringIntoViewCore)
CreatePeerForElement(Control) Gets the AutomationPeer for a Control, creating it if necessary.
EnsureEnabled
(Inherited from AutomationPeer)
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromElement(Control) Gets an existing AutomationPeer for a Control.
GetAcceleratorKey Gets the accelerator key combinations for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAcceleratorKeyCore
(Overrides AutomationPeerGetAcceleratorKeyCore)
GetAccessKey Gets the access key for the element that is associated with the automation peer.
(Inherited from AutomationPeer)
GetAccessKeyCore
(Overrides AutomationPeerGetAccessKeyCore)
GetAutomationControlType Gets the control type for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAutomationControlTypeCore
(Overrides AutomationPeerGetAutomationControlTypeCore)
GetAutomationId Gets the automation ID of the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAutomationIdCore
(Overrides AutomationPeerGetAutomationIdCore)
GetBoundingRectangle Gets the bounding rectangle of the element that is associated with the automation peer in top-level coordinates.
(Inherited from AutomationPeer)
GetBoundingRectangleCore
(Overrides AutomationPeerGetBoundingRectangleCore)
GetChildren Gets the child automation peers.
(Inherited from AutomationPeer)
GetChildrenCore 
GetClassName Gets a string that describes the class of the element.
(Inherited from AutomationPeer)
GetClassNameCore
(Overrides AutomationPeerGetClassNameCore)
GetControlTypeOverrideCore
(Overrides AutomationPeerGetControlTypeOverrideCore)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetHelpText Gets text that provides help for the element that is associated with this automation peer.
(Inherited from AutomationPeer)
GetHelpTextCore
(Overrides AutomationPeerGetHelpTextCore)
GetLabeledBy Gets the automation peer for the label that is targeted to the element.
(Inherited from AutomationPeer)
GetLabeledByCore
(Overrides AutomationPeerGetLabeledByCore)
GetLocalizedControlType Gets a human-readable localized string that represents the type of the control that is associated with this automation peer.
(Inherited from AutomationPeer)
GetLocalizedControlTypeCore
(Inherited from AutomationPeer)
GetName Gets text that describes the element that is associated with this automation peer.
(Inherited from AutomationPeer)
GetNameCore
(Overrides AutomationPeerGetNameCore)
GetOrCreate(Control) 
GetOrCreateChildrenCore
(Overrides AutomationPeerGetOrCreateChildrenCore)
GetParent Gets the AutomationPeer that is the parent of this AutomationPeer.
(Inherited from AutomationPeer)
GetParentCore
(Overrides AutomationPeerGetParentCore)
GetProviderT Tries to get a provider of the specified type from the peer.
(Inherited from AutomationPeer)
GetProviderCore(Type)
(Inherited from AutomationPeer)
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetVisualRoot Gets the AutomationPeer that is the root of this AutomationPeer's visual tree.
(Inherited from AutomationPeer)
GetVisualRootCore
(Overrides AutomationPeerGetVisualRootCore)
HasKeyboardFocus Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.
(Inherited from AutomationPeer)
HasKeyboardFocusCore
(Overrides AutomationPeerHasKeyboardFocusCore)
InvalidateChildren Invalidates the peer's children and causes a re-read from GetChildrenCore.
InvalidateParent Invalidates the peer's parent.
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
(Overrides AutomationPeerIsContentElementCore)
IsContentElementOverrideCore
(Overrides AutomationPeerIsContentElementOverrideCore)
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
(Overrides AutomationPeerIsControlElementCore)
IsControlElementOverrideCore
(Overrides AutomationPeerIsControlElementOverrideCore)
IsEnabled Gets a value indicating whether the control is enabled for user interaction.
(Inherited from AutomationPeer)
IsEnabledCore
(Overrides AutomationPeerIsEnabledCore)
IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus.
(Inherited from AutomationPeer)
IsKeyboardFocusableCore
(Overrides AutomationPeerIsKeyboardFocusableCore)
IsOffscreen Gets a value that indicates whether an element is off the screen.
(Inherited from AutomationPeer)
IsOffscreenCore
(Overrides AutomationPeerIsOffscreenCore)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RaiseChildrenChangedEvent Raises an event to notify the automation client the children of the peer have changed.
(Inherited from AutomationPeer)
RaisePropertyChangedEvent(AutomationProperty, Object, Object) Raises an event to notify the automation client of a changed property value.
(Inherited from AutomationPeer)
SetFocus Sets the keyboard focus on the element that is associated with this automation peer.
(Inherited from AutomationPeer)
SetFocusCore
(Overrides AutomationPeerSetFocusCore)
ShowContextMenu Shows the context menu for the element that is associated with this automation peer.
(Inherited from AutomationPeer)
ShowContextMenuCore
(Overrides AutomationPeerShowContextMenuCore)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TrySetParent(AutomationPeer)
(Overrides AutomationPeerTrySetParent(AutomationPeer))

Events

ChildrenChanged Occurs when the children of the automation peer have changed.
(Inherited from AutomationPeer)
PropertyChanged Occurs when a property value of the automation peer has changed.
(Inherited from AutomationPeer)

See Also