How to pin HubTile control to start screen in Windows phone Mango?

You use the ShellTile API as described on MSDN to add a secondary tile to the Start screen.

Up vote 0 down vote favorite share g+ share fb share tw.

I am using the Hubtile Control provided in the Silverlight toolkit ( August) and I haven't been able to figure out how to pin the tiles to the homepage. Totally clueless and I have thoroughly searched everywhere with no luck. Help appreciated!

Windows-phone-7 windows-phone-7.5 windows-phone-7.1 link|improve this question asked Sep 19 '11 at 15:15mojojo163 60% accept rate.

You use the ShellTile API as described on MSDN to add a secondary tile to the Start screen. If you're using HubTile controls within your application, then you'll need to handle a touch gesture (e.g. Tap event) to determine which tile to pin, but it all depends on your app.

And what one can do, is to render the HubTile control into a Image, and use that image as a background for the ShellTile. I think my guide might come in handy for that. – Claus Jørgensen Sep 19 '11 at 20:42.

Here's the article that gives you answer in more details, including the code: igrali.wordpress.com/2011/09/27/how-to-p... Basically, you create a new StandardTileData and then call ShellTile.Create. The information for the StandardTileData object should be passed from the HubTile object: private void CreateLiveTile(HubTile hubtile) { StandardTileData LiveTile = new StandardTileData { BackgroundImage = ((System.Windows.Media.Imaging. BitmapImage) hubtile.

Source). UriSource, Title = hubtile. Title, BackTitle = hubtile.

Title, BackContent = hubtile. Message }; Find more details in the article! Regards.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions