Introduction Telerik recently released their Windows 8 UI Controls to RC on September 18th (see post here), and this is probably on the first in a series of posts I will put out showing them off. The first control here is the RadCustomHubTile. I chose this because I am in
Introduction
Telerik recently released their Windows 8 UI Controls to RC on September 18th (see post here), and this is probably on the first in a series of posts I will put out showing them off.
The first control here is the RadCustomHubTile. I chose this because I am in the process of porting my Find Amber app from Windows Phone to Windows 8 and I wanted to transition the app without drifting too far from the spirit of the original app.
The controls do support both HTML and XAML design, if the current version of the controls do not include either or; I assure you the version you seek is in development and on its way.
Getting Started
The RadCustomHubTile allows **any **user-defined content rather than predefined parts that you may find in a RadHubTile or RadSlideTile, and as in most if not all of the Telerik controls; MVVM as well as code based binding is supported.
Complex front and back content for the tileThis is a moderately simply example. I started with a Blank Solution in Visual Studio 2012 and called it RadCustomHubTile (in retrospect probably should have stuck with App1).
Install the MVVM Light Framework via nuget (see above), you will have to make a change to the App.xaml file. When installing this, it adds the reference to the namespace in the old way
_ xmlns:vm=“clr-namespace:RadHubTile.ViewModel” _
you need to change this to:
_ xmlns:vm=“using:RadHubTile.ViewModel” _
A little house keeping to make it look nice. Yes I care what it looks like even for this. Go ahead and add the following below the tag to add the header to the initial page. You can change the title if you like and run (F5).