Current filter:
                                You should refresh the page.
                                Support Center
                                  • 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


                                0 Solutions

                                Creation Date Rating Importance Sort by

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2018 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners