FindLogicalByTag(ILogical, Object) Method

Definition

Assembly HeadlessTestingFramework.dll

Finds logical controls by Tag property.

public static IEnumerable<Control> FindLogicalByTag(this ILogical root, object tag)

Parameters

root
Avalonia.LogicalTree.ILogical

The root logical to search from.

tag
Object

The tag value to search for.

Returns

IEnumerable<Control>
All controls with the specified tag.