private void ShortAlbumInfoDataTemplate_OnMouseDown(object sender, MouseButtonEventArgs e) { if (!(sender is Border border) || !(border.DataContext is ShortAlbumInfo info)) { return; } WebExplorerNavigation.NavigateToAlbum(info); }
private void Search() { WebExplorerNavigation.NavigateToSearchResults(this.SearchText); }