Skip to main content

GetProvider<T> Method

Tries to get a provider of the specified type from the peer.

Definition

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

public T GetProvider<T>()

Type Parameters

The provider type.

Return Value

T
The provider, or null if not implemented on this peer.

See Also

Reference

AutomationPeer Class
Avalonia.Automation.Peers Namespace