Summary
Provides extension methods for working with the logical tree.
- Namespace
- Avalonia
.LogicalTree - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["LogicalExtensions"]
class Type type-node
Syntax
public static class LogicalExtensions
Methods
Name | Value | Summary |
---|---|---|
Find |
T |
Finds first ancestor of given type.
static
|
Find |
T |
Finds first descendant of given type.
static
|
GetLogicalAncestors |
IEnumerable |
Enumerates the ancestors of an
ILogical in the logical tree.
static
|
GetLogicalChildren |
IEnumerable |
Enumerates the children of an
ILogical in the logical tree.
static
|
Get |
IEnumerable |
Enumerates the descendants of an
ILogical in the logical tree.
static
|
GetLogicalParent |
ILogical |
Gets the logical parent of an
ILogical .
static
|
GetLogicalParent |
T |
Gets the logical parent of an
ILogical .
static
|
GetLogicalSiblings |
IEnumerable |
Enumerates the siblings of an
ILogical in the logical tree.
static
|
Get |
IEnumerable |
Enumerates an
ILogical and its ancestors in the logical tree.
static
|
Get |
IEnumerable |
Enumerates an
ILogical and its descendants in the logical tree.
static
|
IsLogicalAncestorOf |
bool |
Tests whether an
ILogical is an ancestor of another logical.
static
|