WPF Calendar: Customize the control to show calendar week numbers
Currently i'm creating a Custom Calendar Control that inherits from the Standard WPF Calendar.
Thanks to Mr. Veeneman i got Highlighting for specific dates to work http://www.codeproject.com/KB/WPF开发者_StackOverflow中文版/ExtendingWPFCalendar.aspx.
Now i'm trying to add the weeknumbers to the left of the standard "days-block" but do not know how to accomplish this task.
Has anyone created a Custom Calendar with such a functionality willing to share his thoughts?
I try to avoid to use WPF Toolkit from Codeplex since i have had rather mediocre experiences with the toolkits for asp.net.
with kind regards
You mention the WPF Toolkit yourself, and which is what Charles Petzold has used to add week numbers: http://www.charlespetzold.com/blog/2009/10/Adapting-the-Calendar-Control-for-Week-Numbers.html
I am also looking for a way to add week numbers to the default WPF Calendar control. Is the principles of WPF Calendar different from WPF Toolkit Calendar?
精彩评论