FrameworkElement.Unloaded event

Applies to Windows and Windows Phone

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

Syntax

Public Event Unloaded As RoutedEventHandler

<frameworkElement Unloaded="eventhandler"/>

Event information

Delegate RoutedEventHandler

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

FrameworkElement

 

 

Show:
© 2014 Microsoft