private void OnSampleItemTapped(object sender, TappedRoutedEventArgs e)
{
var selectedSample = (sender as FrameworkElement).DataContext as SampleModel;
if (selectedSample == null) return;
SampleManager.Current.SelectedSample = selectedSample;
// Navigate to the sample page that shows the sample and details
Frame.Navigate(typeof(SamplePage));
}