Skip to main content

ButtonAutomationPeer Class

Definition

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

public class ButtonAutomationPeer : ContentControlAutomationPeer, 
IInvokeProvider
View Source
InheritanceObjectAutomationPeerControlAutomationPeerContentControlAutomationPeer → ButtonAutomationPeer
ImplementsIInvokeProvider

Constructors

ButtonAutomationPeer(Button)Initializes a new instance of the ButtonAutomationPeer class

Properties

Owner 

Methods

BringIntoView()Attempts to bring the element associated with the automation peer into view.
(Inherited from AutomationPeer)
BringIntoViewCore()
(Inherited from ControlAutomationPeer)
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)
GetAcceleratorKey()Gets the accelerator key combinations for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAcceleratorKeyCore()
(Overrides ControlAutomationPeer.GetAcceleratorKeyCore())
GetAccessKey()Gets the access key for the element that is associated with the automation peer.
(Inherited from AutomationPeer)
GetAccessKeyCore()
(Inherited from ControlAutomationPeer)
GetAutomationControlType()Gets the control type for the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAutomationControlTypeCore()
(Overrides ContentControlAutomationPeer.GetAutomationControlTypeCore())
GetAutomationId()Gets the automation ID of the element that is associated with the UI Automation peer.
(Inherited from AutomationPeer)
GetAutomationIdCore()
(Inherited from ControlAutomationPeer)
GetBoundingRectangle()Gets the bounding rectangle of the element that is associated with the automation peer in top-level coordinates.
(Inherited from AutomationPeer)
GetBoundingRectangleCore()
(Inherited from ControlAutomationPeer)
GetChildren()Gets the child automation peers.
(Inherited from AutomationPeer)
GetChildrenCore()
(Inherited from ControlAutomationPeer)
GetClassName()Gets a string that describes the class of the element.
(Inherited from AutomationPeer)
GetClassNameCore()
(Inherited from ControlAutomationPeer)
GetControlTypeOverrideCore()
(Inherited from ControlAutomationPeer)
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()
(Inherited from ControlAutomationPeer)
GetLabeledBy()Gets the automation peer for the label that is targeted to the element.
(Inherited from AutomationPeer)
GetLabeledByCore()
(Inherited from ControlAutomationPeer)
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()
(Inherited from ContentControlAutomationPeer)
GetOrCreate(Control)
(Inherited from ControlAutomationPeer)
GetOrCreateChildrenCore()
(Inherited from ControlAutomationPeer)
GetParent()Gets the AutomationPeer that is the parent of this AutomationPeer.
(Inherited from AutomationPeer)
GetParentCore()
(Inherited from ControlAutomationPeer)
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()
(Inherited from ControlAutomationPeer)
HasKeyboardFocus()Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus.
(Inherited from AutomationPeer)
HasKeyboardFocusCore()
(Inherited from ControlAutomationPeer)
InvalidateChildren()Invalidates the peer's children and causes a re-read from GetChildrenCore().
(Inherited from ControlAutomationPeer)
InvalidateParent()Invalidates the peer's parent.
(Inherited from ControlAutomationPeer)
Invoke() 
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 ContentControlAutomationPeer.IsContentElementCore())
IsContentElementOverrideCore()
(Inherited from ControlAutomationPeer)
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 ContentControlAutomationPeer.IsControlElementCore())
IsControlElementOverrideCore()
(Inherited from ControlAutomationPeer)
IsEnabled()Gets a value indicating whether the control is enabled for user interaction.
(Inherited from AutomationPeer)
IsEnabledCore()
(Inherited from ControlAutomationPeer)
IsKeyboardFocusable()Gets a value that indicates whether the element can accept keyboard focus.
(Inherited from AutomationPeer)
IsKeyboardFocusableCore()
(Inherited from ControlAutomationPeer)
IsOffscreen()Gets a value that indicates whether an element is off the screen.
(Inherited from AutomationPeer)
IsOffscreenCore()
(Inherited from ControlAutomationPeer)
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()
(Inherited from ControlAutomationPeer)
ShowContextMenu()Shows the context menu for the element that is associated with this automation peer.
(Inherited from AutomationPeer)
ShowContextMenuCore()
(Inherited from ControlAutomationPeer)
ToString()Returns a string that represents the current object.
(Inherited from Object)
TrySetParent(AutomationPeer)
(Inherited from ControlAutomationPeer)

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