Parent Property
Gets the control that Source is being attached to or detached from.
Definition
Namespace: Avalonia.LogicalTree
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public ILogical? Parent { get; }
Public ReadOnly Property Parent As ILogical
Get
member Parent : ILogical with get
Property Value
ILogicalRemarks
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.
See Also
Reference
LogicalTreeAttachmentEventArgs Class
Avalonia.LogicalTree Namespace