Exemplo n.º 1
0
        protected override void OnNavigatedFrom(NavigationEventArgs e)
        {
            FileCollection.Clear();

            SelectionExtention?.Dispose();
            CoreWindow.GetForCurrentThread().KeyDown -= RecycleBin_KeyDown;
            ListViewControl.RemoveHandler(PointerPressedEvent, PointerPressedHandler);
        }
Exemplo n.º 2
0
 private void RecycleBin_Unloaded(object sender, RoutedEventArgs e)
 {
     SelectionExtention?.Dispose();
     CoreWindow.GetForCurrentThread().KeyDown -= RecycleBin_KeyDown;
     ListViewControl.RemoveHandler(PointerPressedEvent, PointerPressedHandler);
 }