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