Skip to main content

ILogicalRoot Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Represents a root of a logical tree.

Definition

Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface ILogicalRoot : ILogical
View Source
ImplementsILogical

Properties

IsAttachedToLogicalTreeGets a value indicating whether the element is attached to a rooted logical tree.
(Inherited from ILogical)
LogicalChildrenGets the logical children.
(Inherited from ILogical)
LogicalParentGets the logical parent.
(Inherited from ILogical)

Methods

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

Events

AttachedToLogicalTreeRaised when the control is attached to a rooted logical tree.
(Inherited from ILogical)
DetachedFromLogicalTreeRaised when the control is detached from a rooted logical tree.
(Inherited from ILogical)

Extension Methods

Find(T)(String)Finds a named element in an INameScope.
(Defined by NameScopeExtensions)
FindLogicalAncestorOfType(T)(Boolean)Finds first ancestor of given type.
(Defined by LogicalExtensions)
FindLogicalDescendantOfType(T)(Boolean)Finds first descendant of given type.
(Defined by LogicalExtensions)
FindNameScope()
(Defined by NameScopeExtensions)
Get(T)(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)
GetLogicalParent(T)()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

Reference

Avalonia.LogicalTree Namespace