void IMultiSelectListener.ClearSelections(MultiSelectCommandBar commandBar) { AlbumsGridView.ClearSelections(); SearchMusicView.ClearSelections(); PlaylistsGridView.ClearSelections(); FoldersGridView.ClearSelections(); ArtistsGridView.ClearSelections(); }
void IMultiSelectListener.Cancel(MultiSelectCommandBar commandBar) { AlbumsGridView.SelectionMode = ListViewSelectionMode.None; ArtistsGridView.SelectionMode = ListViewSelectionMode.None; SearchMusicView.SelectionMode = ListViewSelectionMode.None; PlaylistsGridView.SelectionMode = ListViewSelectionMode.None; FoldersGridView.SelectionMode = ListViewSelectionMode.None; }
void IMultiSelectListener.SelectAll(MultiSelectCommandBar commandBar) { AlbumsGridView.SelectAll(); SearchMusicView.SelectAll(); PlaylistsGridView.SelectAll(); FoldersGridView.SelectAll(); ArtistsGridView.SelectAll(); }
void IMultiSelectListener.Remove(MultiSelectCommandBar commandBar) { }
void IMultiSelectListener.Play(MultiSelectCommandBar commandBar) { MediaHelper.SetMusicAndPlay(GetSelectItems()); }
void IMultiSelectListener.AddTo(MultiSelectCommandBar commandBar, MenuFlyoutHelper helper) { helper.DefaultPlaylistName = Settings.settings.FindNextPlaylistName(CurrentKeyword.Text); helper.Data = GetSelectItems(); }
void IMultiSelectListener.ClearSelections(MultiSelectCommandBar commandBar) { AlbumsGridView.SelectedItems.Clear(); }
void IMultiSelectListener.SelectAll(MultiSelectCommandBar commandBar) { AlbumsGridView.SelectAll(); }
void IMultiSelectListener.ReverseSelections(MultiSelectCommandBar commandBar) { AlbumsGridView.ReverseSelections(); }
void IMultiSelectListener.AddTo(MultiSelectCommandBar commandBar, MenuFlyoutHelper helper) { helper.Data = SelectedSongs; }
void IMultiSelectListener.Play(MultiSelectCommandBar commandBar) { MediaHelper.SetMusicAndPlay(SelectedSongs); }
void IMultiSelectListener.Cancel(MultiSelectCommandBar commandBar) { AlbumsGridView.SelectionMode = ListViewSelectionMode.None; }
void IMultiSelectListener.ClearSelections(MultiSelectCommandBar commandBar) { LocalFoldersTreeView.SelectedNodes.Clear(); }
void IMultiSelectListener.ReverseSelections(MultiSelectCommandBar commandBar) { }
void IMultiSelectListener.SelectAll(MultiSelectCommandBar commandBar) { LocalFoldersTreeView.SelectAll(); }
void IMultiSelectListener.Cancel(MultiSelectCommandBar commandBar) { LocalFoldersTreeView.SelectionMode = TreeViewSelectionMode.None; }