AutomationPeer Class

Provides a base class that exposes an element to UI Automation.

Definition

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public abstract class AutomationPeer
Inheritance
Object    AutomationPeer
Derived

Constructors

AutomationPeerInitializes a new instance of the AutomationPeer class

Methods

BringIntoView Attempts to bring the element associated with the automation peer into view.
BringIntoViewCore 
EnsureEnabled 
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)
GetAcceleratorKey Gets the accelerator key combinations for the element that is associated with the UI Automation peer.
GetAcceleratorKeyCore 
GetAccessKey Gets the access key for the element that is associated with the automation peer.
GetAccessKeyCore 
GetAutomationControlType Gets the control type for the element that is associated with the UI Automation peer.
GetAutomationControlTypeCore 
GetAutomationId Gets the automation ID of the element that is associated with the UI Automation peer.
GetAutomationIdCore 
GetBoundingRectangle Gets the bounding rectangle of the element that is associated with the automation peer in top-level coordinates.
GetBoundingRectangleCore 
GetChildren Gets the child automation peers.
GetClassName Gets a string that describes the class of the element.
GetClassNameCore 
GetControlTypeOverrideCore 
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.
GetHelpTextCore 
GetLabeledBy Gets the automation peer for the label that is targeted to the element.
GetLabeledByCore 
GetLocalizedControlType Gets a human-readable localized string that represents the type of the control that is associated with this automation peer.
GetLocalizedControlTypeCore 
GetName Gets text that describes the element that is associated with this automation peer.
GetNameCore 
GetOrCreateChildrenCore 
GetParent Gets the AutomationPeer that is the parent of this AutomationPeer.
GetParentCore 
GetProviderT Tries to get a provider of the specified type from the peer.
GetProviderCore(Type) 
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetVisualRoot Gets the AutomationPeer that is the root of this AutomationPeer's visual tree.
GetVisualRootCore 
HasKeyboardFocus Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.
HasKeyboardFocusCore 
IsContentElement Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.
IsContentElementCore 
IsContentElementOverrideCore 
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.
IsControlElementCore 
IsControlElementOverrideCore 
IsEnabled Gets a value indicating whether the control is enabled for user interaction.
IsEnabledCore 
IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus.
IsKeyboardFocusableCore 
IsOffscreen Gets a value that indicates whether an element is off the screen.
IsOffscreenCore 
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.
RaisePropertyChangedEvent(AutomationProperty, Object, Object) Raises an event to notify the automation client of a changed property value.
SetFocus Sets the keyboard focus on the element that is associated with this automation peer.
SetFocusCore 
ShowContextMenu Shows the context menu for the element that is associated with this automation peer.
ShowContextMenuCore 
ToStringReturns a string that represents the current object.
(Inherited from Object)
TrySetParent(AutomationPeer) 

Events

ChildrenChanged Occurs when the children of the automation peer have changed.
PropertyChanged Occurs when a property value of the automation peer has changed.

See Also