FrameworkElement.Unloaded 이벤트

정의

이 개체가 더 이상 기본 개체 트리에 연결되지 않은 경우에 발생합니다.

// Register
event_token Unloaded(RoutedEventHandler const& handler) const;

// Revoke with event_token
void Unloaded(event_token const* cookie) const;

// Revoke with event_revoker
FrameworkElement::Unloaded_revoker Unloaded(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler Unloaded;
function onUnloaded(eventArgs) { /* Your code */ }
frameworkElement.addEventListener("unloaded", onUnloaded);
frameworkElement.removeEventListener("unloaded", onUnloaded);
- or -
frameworkElement.onunloaded = onUnloaded;
Public Custom Event Unloaded As RoutedEventHandler 
<frameworkElement Unloaded="eventhandler"/>

이벤트 유형

설명

이 이벤트는 RoutedEventHandler 대리자 및 RoutedEventArgs 를 이벤트 데이터로 사용하지만 이벤트는 실제로 라우트된 이벤트가 아닙니다. 이벤트를 시작하는 요소(즉, 보낸 사람)에서만 처리할 수 있습니다. 이 이벤트에 대한 이벤트 데이터의 OriginalSource는 항상 null입니다.

적용 대상