Skip to main content

Source Property

Gets the control that was attached or detached from the logical tree.

Definition​

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

public ILogical Source { get; }

Property Value​

ILogical

Remarks​

Logical tree attachment events travel down the attached logical tree from the point of attachment/detachment, so this control may be different from the control that the event is being raised on.

See Also​

Reference​

LogicalTreeAttachmentEventArgs Class
Avalonia.LogicalTree Namespace