ContainsLogicalNamed(ILogical, String) Method

Definition

Assembly HeadlessTestingFramework.dll

Checks if a logical contains a descendant with a specific name.

public static bool ContainsLogicalNamed(this ILogical root, string name)

Parameters

root
Avalonia.LogicalTree.ILogical

The root logical to search from.

name
String

The name to search for.

Returns

Boolean
True if a descendant with the specified name exists.