Ejemplo n.º 1
0
 private void _Search_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     if (_OpenText.Text.Length == 0)
     {
         return;
     }
     Photos.Clear();
     Photos.UpdatePhotosWithTag(_OpenText.Text, _EditText.Text);
 }
Ejemplo n.º 2
0
 public void OnPhotoBagChanged()
 {
     App.Current.Dispatcher.Invoke((Action) delegate // <--- HERE
     {
         PhotoCollection.Clear();
         PhotoCollection.AddRange(PhotoBag);
     });
 }
Ejemplo n.º 3
0
 private void Reset()
 {
     try
     {
         PhotoCollection.Clear();
         PhotoCollection = null;
         _pageIndex      = 1;
     }
     catch (Exception)
     {
         throw;
     }
 }