Skip to main content

OnAttachedToVisualTree Method

Called when the control is added to a rooted visual tree.

Definition

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

protected override void OnAttachedToVisualTree(
VisualTreeAttachmentEventArgs e
)

Parameters

  VisualTreeAttachmentEventArgs
The event args.

See Also

Reference

MenuBase Class
Avalonia.Controls Namespace