IRootProvider Interface
Exposes methods and properties to support UI Automation client access to the root of an automation tree.
Definition
Namespace: Avalonia.Automation.Provider
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public interface IRootProvider
Public Interface IRootProvider
type IRootProvider = interface end
Remarks
This interface is implemented by the AutomationPeer class, and should only be implemented on true root elements, such as Windows. To embed an automation tree, use IEmbeddedRootProvider instead.
Methods
GetFocus() | Gets the currently focused element. |
GetPeerFromPoint(Point) | Gets the element at the specified point, expressed in top-level coordinates. |
Events
FocusChanged | Raised by the automation peer when the focus changes. |