A contestant in the BALL Watch Silverlight Contest was working on creating his entry (Due August 5, 2010) and sent me a question on data binding to the day of the week. The watch that he is creating displays the day abbreviated and capitalized and he wanted to use data binding like I showed in this tutorial. Since the Chronograph control exposes a DateTime Date property, he could bind to that and use Date.DayOfWeek property, but that would return values like Monday and Tuesday, not MON and TUE. The solution in this case is to create a value converter and use that in the binding.
A Value Converter Item TemplateI create value converters so often in my Silverlight and WPF development, that I created a C# item template that I use over ...
Go to the complete details ...