Unloaded Event
Occurs when the control is removed from the visual tree.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public event EventHandler<RoutedEventArgs> Unloaded
Public Event Unloaded As EventHandler(Of RoutedEventArgs)
member Unloaded : IEvent<EventHandler<RoutedEventArgs>,
RoutedEventArgs>
Value
Remarks
This is API symmetrical with Loaded and exists for compatibility with other XAML frameworks; however, it behaves the same as OnDetachedFromVisualTree.