FindByTag(Visual, Object) Method

Definition

Assembly HeadlessTestingFramework.dll

Finds controls by Tag property.

public static IEnumerable<Control> FindByTag(this Visual root, object tag)

Parameters

root
Avalonia.Visual

The root visual to search from.

tag
Object

The tag value to search for.

Returns

IEnumerable<Control>
All controls with the specified tag.