VisualTreeAttachmentEventArgs.

VisualTreeAttachmentEventArgs(IVisual, IRenderRoot) Constructor

Summary

Initializes a new instance of the VisualTreeAttachmentEventArgs class.
Namespace
Avalonia
Containing Type
VisualTreeAttachmentEventArgs

Syntax

public VisualTreeAttachmentEventArgs(IVisual parent, IRenderRoot root)

Parameters

Name Type Description
parent IVisual The parent that the visual is being attached to or detached from.
root IRenderRoot The root visual.

Return Value

Type Description
void