WPF Toolkit calendar control in a MVVM solution, how to highlight days?
From this article http://msdn.microsoft.com/en-us/magazine/dd882520.aspx I wanted to create a list of selected days like he did. Except my list is not static and putting it in the conve开发者_如何转开发rter seems smelly. Has anyone done something similar with the WPF toolkit calendar control? Or are we trying to use this control for something more than what it is intended?
Use a MultiValueConverter which takes a DateTime and a list of special days.
精彩评论