Skip to main content

ControlAutomationPeer Class

An automation peer which represents a Control element.

Definition

Namespace: Avalonia.Automation.Peers
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public class ControlAutomationPeer : AutomationPeer
View Source
InheritanceObjectAutomationPeer → ControlAutomationPeer
DerivedAvalonia.Automation.Peers.ContentControlAutomationPeer
Avalonia.Automation.Peers.DataGridRowAutomationPeer
Avalonia.Automation.Peers.ItemsControlAutomationPeer
Avalonia.Automation.Peers.MenuItemAutomationPeer
Avalonia.Automation.Peers.NoneAutomationPeer
Avalonia.Automation.Peers.PopupAutomationPeer
Avalonia.Automation.Peers.RangeBaseAutomationPeer
Avalonia.Automation.Peers.ScrollViewerAutomationPeer
Avalonia.Automation.Peers.TextBlockAutomationPeer
Avalonia.Automation.Peers.TextBoxAutomationPeer
Avalonia.Automation.Peers.WindowBaseAutomationPeer
Avalonia.Controls.Automation.Peers.DataGridAutomationPeer
Avalonia.Controls.Automation.Peers.DataGridColumnHeadersPresenterAutomationPeer
Avalonia.Controls.Automation.Peers.DataGridDetailsPresenterAutomationPeer
Avalonia.Controls.Automation.Peers.ImageAutomationPeer
Avalonia.Controls.Automation.Peers.LabelAutomationPeer
Avalonia.Controls.Automation.Peers.ThumbAutomationPeer

Constructors

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

Properties

Owner 

Methods

BringIntoView()Attempts to bring the element associated with the automation peer into view.
(Inherited from AutomationPeer)
BringIntoViewCore()
(Overrides AutomationPeer.BringIntoViewCore())
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)
Finalize()Allows 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 AutomationPeer.GetAcceleratorKeyCore())
GetAccessKey()Gets the access key for the element that is associated with the automation peer.
(Inherited from AutomationPeer)
GetAccessKeyCore()
(Overrides AutomationPeer.GetAccessKeyCore())
GetAutomationControlType()Gets the control type for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAutomationControlTypeCore()
(Overrides AutomationPeer.GetAutomationControlTypeCore())
GetAutomationId()Gets the automation ID of the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAutomationIdCore()
(Overrides AutomationPeer.GetAutomationIdCore())
GetBoundingRectangle()Gets the bounding rectangle of the element that is associated with the automation peer in top-level coordinates.
(Inherited from AutomationPeer)
GetBoundingRectangleCore()
(Overrides AutomationPeer.GetBoundingRectangleCore())
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 AutomationPeer.GetClassNameCore())
GetControlTypeOverrideCore()
(Overrides AutomationPeer.GetControlTypeOverrideCore())
GetHashCode()Serves 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 AutomationPeer.GetHelpTextCore())
GetLabeledBy()Gets the automation peer for the label that is targeted to the element.
(Inherited from AutomationPeer)
GetLabeledByCore()
(Overrides AutomationPeer.GetLabeledByCore())
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 AutomationPeer.GetNameCore())
GetOrCreate(Control) 
GetOrCreateChildrenCore()
(Overrides AutomationPeer.GetOrCreateChildrenCore())
GetParent()Gets the AutomationPeer that is the parent of this AutomationPeer.
(Inherited from AutomationPeer)
GetParentCore()
(Overrides AutomationPeer.GetParentCore())
GetProvider(T)()Tries to get a provider of the specified type from the peer.
(Inherited from AutomationPeer)
GetProviderCore(Type)
(Inherited from AutomationPeer)
GetType()Gets 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 AutomationPeer.GetVisualRootCore())
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 AutomationPeer.HasKeyboardFocusCore())
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 AutomationPeer.IsContentElementCore())
IsContentElementOverrideCore()
(Overrides AutomationPeer.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.
(Inherited from AutomationPeer)
IsControlElementCore()
(Overrides AutomationPeer.IsControlElementCore())
IsControlElementOverrideCore()
(Overrides AutomationPeer.IsControlElementOverrideCore())
IsEnabled()Gets a value indicating whether the control is enabled for user interaction.
(Inherited from AutomationPeer)
IsEnabledCore()
(Overrides AutomationPeer.IsEnabledCore())
IsKeyboardFocusable()Gets a value that indicates whether the element can accept keyboard focus.
(Inherited from AutomationPeer)
IsKeyboardFocusableCore()
(Overrides AutomationPeer.IsKeyboardFocusableCore())
IsOffscreen()Gets a value that indicates whether an element is off the screen.
(Inherited from AutomationPeer)
IsOffscreenCore()
(Overrides AutomationPeer.IsOffscreenCore())
MemberwiseClone()Creates 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 AutomationPeer.SetFocusCore())
ShowContextMenu()Shows the context menu for the element that is associated with this automation peer.
(Inherited from AutomationPeer)
ShowContextMenuCore()
(Overrides AutomationPeer.ShowContextMenuCore())
ToString()Returns a string that represents the current object.
(Inherited from Object)
TrySetParent(AutomationPeer)
(Overrides AutomationPeer.TrySetParent(AutomationPeer))

Events

ChildrenChangedOccurs when the children of the automation peer have changed.
(Inherited from AutomationPeer)
PropertyChangedOccurs when a property value of the automation peer has changed.
(Inherited from AutomationPeer)

See Also

Reference

Avalonia.Automation.Peers Namespace