Current filter:
                                You should refresh the page.
                                We apologize for the inconvenience. Our ordering system and the support center may be offline for a few hours on Sunday, May 19 due to maintenance tasks.
                                0
                                  • CustomDrawDayNumberCellEventArgs Class
                                    The sample code given in this help topic needs to be updated (or at least annotated) as it has some flaws. Now I’m not sure if the DateEdit control is painted differently on Vista machines (I didn’t specifically request that it did), but when you open the drop down and click on the Month/Year label within the calendar, the calendar zooms to a higher level ... namely, a year at a glance.

                                     The logic in the example didn’t take this into account and only worried about painting days of the month. When the control morfs into year-at-a-glance mode, instead of month names being on the control, colored 1’s appear because the code in DrawItem says to always write out the Day:

                                     e.Cache.DrawString(e.Date.Day.ToString(), e

                                     Bryan

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.