LogicalTreeAttachmentEventArgsParent Property
Gets the control that
Source is being attached to or detached from.
Namespace: Avalonia.LogicalTreeAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public ILogical? Parent { get; }
Public ReadOnly Property Parent As ILogical
Get
member Parent : ILogical with get
Property Value
ILogical
For logical tree attachment, holds the new logical parent of
Source. For
detachment, holds the old logical parent of
Source. If the detachment event
was caused by a top-level control being closed, then this property will be null.