LogicalExtensions Class
Provides extension methods for working with the logical tree.
Definition
Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static class LogicalExtensions
<ExtensionAttribute>
Public NotInheritable Class LogicalExtensions
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type LogicalExtensions = class end
Inheritance | Object → LogicalExtensions |
Methods
FindLogicalAncestorOfType(T)(ILogical, Boolean) | Finds first ancestor of given type. |
FindLogicalDescendantOfType(T)(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. |
GetLogicalParent(T)(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. |