LogicalTreeAttachmentEventArgs Class
Definition
Holds the event arguments for the Avalonia.LogicalTree.ILogical.AttachedToLogicalTree and Avalonia.LogicalTree.ILogical.DetachedFromLogicalTree events.
public class LogicalTreeAttachmentEventArgs
Constructors
| Name | Description |
|---|---|
| LogicalTreeAttachmentEventArgs | Initializes a new instance of the Avalonia.LogicalTree.LogicalTreeAttachmentEventArgs class. |
LogicalTreeAttachmentEventArgs Constructor
Initializes a new instance of the Avalonia.LogicalTree.LogicalTreeAttachmentEventArgs class.
public LogicalTreeAttachmentEventArgs(Avalonia.LogicalTree.ILogicalRoot root, Avalonia.LogicalTree.ILogical source, Avalonia.LogicalTree.ILogical parent)
Parameters
root Avalonia.LogicalTree.ILogicalRoot
The root of the logical tree.
source Avalonia.LogicalTree.ILogical
The control being attached/detached.
parent Avalonia.LogicalTree.ILogical
The Avalonia.LogicalTree.LogicalTreeAttachmentEventArgs.Parent.
Properties
| Name | Description |
|---|---|
| Parent | Gets the control that Avalonia.LogicalTree.LogicalTreeAttachmentEventArgs.Source is being attached to or detached from. |
| Root | Gets the root of the logical tree that the control is being attached to or detached from. |
| Source | Gets the control that was attached or detached from the logical tree. |
Parent Property
Gets the control that Avalonia.LogicalTree.LogicalTreeAttachmentEventArgs.Source is being attached to or detached from.
public Avalonia.LogicalTree.ILogical Parent { get; set; }