Skip to main content

IEmbeddedRootProvider Interface

Exposure methods and properties to support UI Automation client access to the root of an automation tree hosted by another UI framework.

Definition

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

public interface IEmbeddedRootProvider
View Source

Remarks

This interface is implemented by the AutomationPeer class, and can be used to embed an automation tree from a 3rd party UI framework that wishes to use Avalonia's automation support.

Methods

GetFocus()Gets the currently focused element.
GetPeerFromPoint(Point)Gets the element at the specified point, expressed in top-level coordinates.

Events

FocusChangedRaised by the automation peer when the focus changes.

See Also

Reference

Avalonia.Automation.Provider Namespace