(X) Hide this Watch the recordings of our recent webinars: Switch or no switch: Can I build my business apps in LightSwitch and Switching on the Cloud for Silverlight by Gill Cleeren
Our next webinar is on May 11th: Getting started with the Silverlight 5 Beta. Join it!
Skip Navigation LinksHome / News / View News

Developing a Lookless Silverlight Gauge Control (part 2)

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Oct 21, 2010
(0 votes)

In his previous post Colin Eberhardt described the process of creating a lookless gauge control and introduced the concept of an attached view model. In this next post he demonstrates how this allows for great flexibility when re-templating the control.

Source: ScottLogic

In this post I will create two different templates for this control. The first is a small variation on the radial gauge which is rendered as a semi-circle. The second is very different, a bullet graph, where the gauge is rendered as a linear indicator. With each, an attached view model is introduced into the controls template in order to compute properties that aid in the rendering of the control.


Follow us on twitterWe tweet all news and content updates - follow us on Twitter! 

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 1 and type the answer here: