LogicalExtensions.

IsLogicalAncestorOf(ILogical, ILogical) Method

Summary

Tests whether an ILogical is an ancestor of another logical.
Namespace
Avalonia.LogicalTree
Containing Type
LogicalExtensions

Syntax

public static bool IsLogicalAncestorOf(this ILogical logical, ILogical target)

Parameters

Name Type Description
logical ILogical The logical.
target ILogical The potential descendant.

Return Value

Type Description
bool True if logical is an ancestor of target; otherwise false.