An overview of UI Controls from Win RT XAML Toolkit

Are you looking for third party UI controls for Windows 8 app development? Win RT XAML Toolkit has recently released an updated version which nonetheless makes a great addition in RT apps experience. This blog post intends to briefly discuss some important and simple controls offered in this toolkit to help you build richer Windows 8 apps (we’ll deep dive into various extensions and tools offered in this toolkit later in another post)

(If you are a newbie, download the build from , extract and open WinRTXamlToolkit solution file in VS 2012 and hit F5 after selecting “WinRTXamlToolkit.Sample” as startup project to explore offered controls)

Image Button and Toggle Image Button

Handling visual states of images (hover, pressed) in conventional Button of Windows 8 requires a bit of interaction with either Expression Blend or good understanding of XAML but Image Button (and respective Toggle Image Button) control makes it easier to specify various visual states,




                PressedStateImageSource="/Assets/Images/Pressed.png" /> 


Watermark TextBox

Watermark TextBox supports two important properties WatermarkStyle and WatermarkText both of them are shown in action below,


        <Style TargetType="TextBlock" x:Name="WatermarkStyle">

            <Setter Property="FontSize" Value="20"></Setter>

            <Setter Property="Foreground" Value="Green"></Setter>

            <Setter Property="Margin" Value="10,5,10,10"></Setter>



<xc:WatermarkTextBox Name="WatermarkTextBox" WatermarkText="Username" WatermarkStyle="{StaticResource WatermarkStyle}" Width="300" Height="40" />

That’s how it will look like,


Numeric Up Down

A simple control

<controls:NumericUpDown />

and an extended one








              Margin="0" />

will result in a display much similar,

Hold on the + or – button and it will smoothly transition between values which is good that you don’t have to press the buttons again and again.


Color Picker Primitives

The snapshot below renders two controls namely Color Ring and Color Triangle to provide a detailed color selector. You can additionally apply Hue, Saturation and Lightness (HSL) or RGB properties.



              VerticalAlignment="Stretch" HorizontalAlignment="Stretch"


On Value Changes event the values is determined between range of 0 – 360 (clockwise)

private void hueRing_ValueChanged_1(object sender, Windows.UI.Xaml.Controls.Primitives.RangeBaseValueChangedEventArgs e)


            TextBoxSelectedValueRing.Text = hueRing.Value.ToString();



Countdown Control

A simple and beautiful look and look closely that the call to animation is Async (non-UI blocking call),

await myCountdownControl.StartCountdownAsync(3); 



Chart controls works on series and supports various different chart types,


RingSlice & PieSlice

            EndAngle="227" /> 

    EndAngle="227" />


Custom Grid Splitter

A much needed control,



Do let us know if this post was helpful? Given your comments, we might follow up with a detailed post on this topic.

Comments (4)
  1. Filip Skakun says:

    Thanks for the overview. Do note that the color picker is non-functional so far though the primitives might be useful in building your own. Also the NumericUpDown supports gestures on the value, so you can swipe to reduce/increase value.

  2. Anna says:

    Hi Usman,

    You have great blog content. My name is Anna Holland, and I am a Marketing Coordinator at Syncfusion. I am reaching out to see if you would blog about one of our free e-books, collectively known as the Succinctly series. It is a great way to add value to your personal website. There are many topics to choose from; you can check out our complete list of books at…/ebooks. They are written by talented experts who are personally selected by Syncfusion. Our goal for each book is to take 500+ pages of information on a topic such as ASP.NET MVC, jQuery, HTTP, etc., and condense it to about 100 pages of essentials. If you choose to blog about one of our e-books, products, or any other Syncfusion resource, you will receive a free $20 Amazon gift card. Please let me know if you have any questions. Thank you for your time, and I look forward to hearing from you! Please email me at for more information.



  3. Good work Usman! You have brought the lights to Microsoft Pakistan's blog otherwise it was as dead as a graveyard.

  4. dergk says:


    Can you please provide tutorial on how to implement WinRT Charts for windows phone 8.0/8.1?

Comments are closed.

Skip to main content