Telerik RadControls for Windows Phone – Article #8 – RadHubTile

The RadHubTile control which is a part of the Telerik RadControls for Windows Phone suite brings the Windows Phone home screen experience to your App .

The hub tile or live tiles provides the tile behaviors like animations, update of data on tiles etc.

To add the RadHubTile to your Windows Phone Page, you can add the following XAML code to your Windows Phone page.

<telerikPrimitives:RadHubTile Height="211" HorizontalAlignment="Left" Margin="12,26,0,0" Name="radHubTile1" VerticalAlignment="Top" Width="204" />

If you want to add the RadHubTile via code behind , you can create an instance of RadHubTile like the code below

RadHubTile tile1 = new RadHubTile();

this.ContentPanel.Children.Add(tile1);

You should also add the following namespace in your code behind file

using Telerik.Windows.Controls;

RadHubTile consists of some important components like

  • Title
  • ImageSource
  • Count
  • Message

You can set these properties from XAML or code behind

tile1.Title = "Hubtile sample";

tile1.Count = 25;

tile1.Message = "@isenthil";

The RadHubTile also has properties like Back Content, Visual Updates and lots of other features which i will explain in the coming posts

No Responses

Leave a Reply


x

Related Posts

Free eBook on Microsoft Azure Essentials: Fundamentals of Azure
If you are one of the users who wants to learn about Microsoft Azure , here's one of the free book on Microsoft Azure Essentials: Fundamentals of...
Download Pokkiri Pongal Game for Windows Phone and Android Devices
Few days back , Skytou Games had released a game "Pokkiri Pongal" for android and Windows Phone devices . Pongal being one of the biggest fest...
InvalidOperationException - You can only use State between OnNavigatedTo and OnNavigatedFrom
If you are receiving the below error in your Windows Phone App, have a look at the place where you are accessing the State dictionary in the Page...
powered by RelatedPosts