Skip to main content

OnDetachedFromVisualTree Method

Called when the control is removed from a rooted visual tree.

Definition

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

protected override void OnDetachedFromVisualTree(
VisualTreeAttachmentEventArgs e
)

Parameters

  VisualTreeAttachmentEventArgs
The event args.

See Also

Reference

Button Class
Avalonia.Controls Namespace