Skip to main content

VisualTreeAttachmentEventArgs Constructor

Initializes a new instance of the VisualTreeAttachmentEventArgs class.

Definition

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

public VisualTreeAttachmentEventArgs(
Visual parent,
IRenderRoot root
)

Parameters

  Visual
The parent that the visual is being attached to or detached from.
  IRenderRoot
The root visual.

See Also

Reference

VisualTreeAttachmentEventArgs Class
Avalonia Namespace