FrameworkElement.Unloaded Event

Definition

Occurs when this object is no longer connected to the main object tree.

C#
public event RoutedEventHandler Unloaded;
XAML
<frameworkElement Unloaded="eventhandler"/>

Event Type

Remarks

Although this event uses the RoutedEventHandler delegate and RoutedEventArgs as event data, the event is not truly a routed event. It can only be handled on the element that originates the event (in other words, the sender). OriginalSource in event data for this event is always null.

Applies to

Produkt Verzie
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6