VisualLocator.

Track(IVisual, int, Type) Method

Namespace
Avalonia.VisualTree
Containing Type
VisualLocator

Syntax

public static IObservable<IVisual> Track(IVisual relativeTo, int ancestorLevel, Type ancestorType = null)

Parameters

Name Type Description
relativeTo IVisual
ancestorLevel int
ancestorType Type

Return Value

Type Description
IObservable<IVisual>