ControlUnloaded Event

Occurs when the control is removed from the visual tree.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public event EventHandler<RoutedEventArgs> Unloaded

Value

EventHandlerRoutedEventArgs

Remarks

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

See Also