Skip to content

Instantly share code, notes, and snippets.

@anuith
Created June 24, 2012 20:10
Show Gist options
  • Save anuith/2984722 to your computer and use it in GitHub Desktop.
Save anuith/2984722 to your computer and use it in GitHub Desktop.
Windows Phone Hackathon : Facebook & Instagram Sample - Instagram Code - Instagram Item Page Loaded
public InstagramItemPage()
{
InitializeComponent();
this.Loaded += new RoutedEventHandler(InstagramItemPage_Loaded);
}
private void InstagramItemPage_Loaded(object sender, RoutedEventArgs e)
{
App currentApp = App.Current as App;
this.DataContext = currentApp.CurrentInstagramItem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment