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.
We tweet all news and content updates - follow us on Twitter!