private void GridFeaturedApps_ContentChanging(ListViewBase sender, ContainerContentChangingEventArgs args)
{
args.Handled = true;
if (args.Phase != 0)
{
throw new Exception("Not in phase 0.");
}
Apps app = (Apps)args.Item;
StackPanel templateRoot = (StackPanel)args.ItemContainer.ContentTemplateRoot;
TextBlock appName = (TextBlock)templateRoot.FindName("appName");
TextBlock appAuthor = (TextBlock)templateRoot.FindName("appAuthor");
Image appIcon = (Image)templateRoot.FindName("appIcon");
appName.Text = app.Name;
appAuthor.Text = app.Author;
appIcon.Source = new BitmapImage(new Uri("ms-appx:///Assets/notavailable.png"));
args.RegisterUpdateCallback(ShowImage);
}