So what does the attached code actually do. Well it is dead simple, it shows you how to modify the standard .NET 4.0 WPF
DatePicker control to allow the user to use the keyboard up/down keys to skip days/months/years when the mouse is in the correct portions of the DatePicker text, which is something the standard control does not actually do. It also takes into account any blacked out dates that may currently be applied, and also shows you how to create a custom Calendar style, such that you can place a "Go To Today" button on it.So that is what we are trying to do, as I say dead simple, but suprisingly useful, and something that does not come out of the box, and some folk may not know how to do this, so I thought it was worth writing up.
A couple of tricks when using the standard WPF .NET4 DatePicker control - CodeProject

No comments:
Post a Comment