ILogical 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 node in the logical tree.
Definition
Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
[NotClientImplementableAttribute]
public interface ILogical
<NotClientImplementableAttribute>
Public Interface ILogical
[<NotClientImplementableAttribute>]
type ILogical = interface end
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
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) |