private void SearchBookmarkToggle_Unchecked(object sender, RoutedEventArgs e) { ((Storyboard)SearchBookmarkGrid.FindResource("SearchBookmarkHideAnimation")).Begin(); SearchBookmarkTextBox.Text = string.Empty; CollectionViewSource.GetDefaultView(BookmarksItemsControl.ItemsSource).Refresh(); }
private void SearchBookmarkToggle_Checked(object sender, RoutedEventArgs e) { ((Storyboard)SearchBookmarkGrid.FindResource("SearchBookmarkShowAnimation")).Begin(); }