Skip to main content

Unloaded Event

Occurs when the control is removed from the visual tree.

Definition

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

public event EventHandler<RoutedEventArgs> Unloaded
View Source

Value

EventHandler(RoutedEventArgs)

Remarks

This is API symmetrical with Loaded and exists for compatibility with other XAML frameworks; however, it behaves the same as OnDetachedFromVisualTree.

See Also

Reference

Control Class
Avalonia.Controls Namespace