GetLogicalNamedControls(ILogical) Method

Definition

Assembly HeadlessTestingFramework.dll

Gets all named controls in the logical tree.

public static Dictionary<string, Control> GetLogicalNamedControls(this ILogical root)

Parameters

root
Avalonia.LogicalTree.ILogical

The root logical to search from.

Returns

Dictionary<String, Control>
A dictionary of control names to controls.