Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Search

How to Debug a Windows 8 Metro Secondary Tile

AddThis Social Bookmark Button
I've been working on Chapter 7 of my upcoming book, Designing Windows 8 Metro Applications with C# and XAML. This chapter focuses on tiles and toast notifications. In the Windows 8 runtime, it is incredibly easy to prompt the user to pin a secondary tile. This is a tile that has a deep link for content. For example, my reference application contains blogs and blog posts from several Wintellect employees. You can pin a specific blog or even a specific item within a blog. The application bar provides the icon to click to Pin to Start:
The
code simply grabs the current "group" that represents a blog, then formats a unique id for the tile, a title, and a special set of arguments that are passed when the tile is tapped: private void Pin_Click_1(object sender, RoutedEventArgs e) { var group = DefaultViewModel["Group"] as BlogGroup; var title = string.Format("Blog: {0}", group.Title); ((App)Application.Current).PinToStart(this, string.Format("Wintellog.{0}", group.Id.GetHashCode()), title, title, ...(Read whole news on source site)

Home : Blog List : C#er: IMage : How to Debug a Windows 8 Metro Secondary Tile