LogicalExtensions Class

Provides extension methods for working with the logical tree.

Definition

Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static class LogicalExtensions
Inheritance
Object    LogicalExtensions

Methods

FindLogicalAncestorOfTypeT(ILogical, Boolean) Finds first ancestor of given type.
FindLogicalDescendantOfTypeT(ILogical, Boolean) Finds first descendant of given type.
GetLogicalAncestors(ILogical) Enumerates the ancestors of an ILogical in the logical tree.
GetLogicalChildren(ILogical) Enumerates the children of an ILogical in the logical tree.
GetLogicalDescendants(ILogical) Enumerates the descendants of an ILogical in the logical tree.
GetLogicalParent(ILogical) Gets the logical parent of an ILogical.
GetLogicalParentT(ILogical) Gets the logical parent of an ILogical.
GetLogicalSiblings(ILogical) Enumerates the siblings of an ILogical in the logical tree.
GetSelfAndLogicalAncestors(ILogical) Enumerates an ILogical and its ancestors in the logical tree.
GetSelfAndLogicalDescendants(ILogical) Enumerates an ILogical and its descendants in the logical tree.
IsLogicalAncestorOf(ILogical, ILogical) Tests whether an ILogical is an ancestor of another logical.

See Also