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 Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. 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 email@example.com.