public void PrevIllust()
 {
     if (this is HistoryPage && HistoryItems.ItemsCount > 0)
     {
         if (HistoryItems.IsCurrentFirst)
         {
             HistoryItems.MoveCurrentToLast();
         }
         else
         {
             HistoryItems.MoveCurrentToPrevious();
         }
         HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
     }
 }
 public void NextIllust()
 {
     if (this is HistoryPage && HistoryItems.ItemsCount > 0)
     {
         if (HistoryItems.IsCurrentLast)
         {
             HistoryItems.MoveCurrentToFirst();
         }
         else
         {
             HistoryItems.MoveCurrentToNext();
         }
         HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
     }
 }
 public void LastIllust()
 {
     HistoryItems.MoveCurrentToLast();
     HistoryItems.ScrollIntoView(HistoryItems.SelectedItem);
 }