Building a Metro App Part 2: Listing 3
SharingFeed Class XAML
public sealed partial class SharingFeed
public void Activate(ShareTargetActivatedEventArgs args)
ViewModel.SharedFeed sharedFeed = new ViewModel.SharedFeed(args.ShareOperation.Data);
this.DataContext = sharedFeed;
Window.Current.Content = this;
Eric Vogel is a Sr. Software Developer at Kunz, Leigh, & Associates in Okemos, MI. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at firstname.lastname@example.org.