ILogical Interface

Represents a node in the logical tree.

Definition

Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface ILogical

Properties

IsAttachedToLogicalTree Gets a value indicating whether the element is attached to a rooted logical tree.
LogicalChildren Gets the logical children.
LogicalParent Gets the logical parent.

Methods

NotifyAttachedToLogicalTree(LogicalTreeAttachmentEventArgs) Notifies the control that it is being attached to a rooted logical tree.
NotifyDetachedFromLogicalTree(LogicalTreeAttachmentEventArgs) Notifies the control that it is being detached from a rooted logical tree.
NotifyResourcesChanged(ResourcesChangedEventArgs) Notifies the control that a change has been made to resources that apply to it.

Events

AttachedToLogicalTree Raised when the control is attached to a rooted logical tree.
DetachedFromLogicalTree Raised when the control is detached from a rooted logical tree.

Extension Methods

FindT(String) Finds a named element in an INameScope.
(Defined by NameScopeExtensions)
FindLogicalAncestorOfTypeT(Boolean) Finds first ancestor of given type.
(Defined by LogicalExtensions)
FindLogicalDescendantOfTypeT(Boolean) Finds first descendant of given type.
(Defined by LogicalExtensions)
FindNameScope
(Defined by NameScopeExtensions)
GetT(String) Gets a named element from an INameScope or throws if no element of the requested name was found.
(Defined by NameScopeExtensions)
GetLogicalAncestors Enumerates the ancestors of an ILogical in the logical tree.
(Defined by LogicalExtensions)
GetLogicalChildren Enumerates the children of an ILogical in the logical tree.
(Defined by LogicalExtensions)
GetLogicalDescendants Enumerates the descendants of an ILogical in the logical tree.
(Defined by LogicalExtensions)
GetLogicalParent Gets the logical parent of an ILogical.
(Defined by LogicalExtensions)
GetLogicalParentT Gets the logical parent of an ILogical.
(Defined by LogicalExtensions)
GetLogicalSiblings Enumerates the siblings of an ILogical in the logical tree.
(Defined by LogicalExtensions)
GetSelfAndLogicalAncestors Enumerates an ILogical and its ancestors in the logical tree.
(Defined by LogicalExtensions)
GetSelfAndLogicalDescendants Enumerates an ILogical and its descendants in the logical tree.
(Defined by LogicalExtensions)
IsLogicalAncestorOf(ILogical) Tests whether an ILogical is an ancestor of another logical.
(Defined by LogicalExtensions)

See Also