Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,

Any one provide one sample ..

Double click on DatePicker Set the current Date in DatePicker in WPF


Thanks
Posted
Comments
Naz_Firdouse 23-Jul-13 6:12am    
why you need double click?Any specific purpose???
midnight_ 23-Jul-13 6:20am    
I guess he wants to provide an optional method for the user, to immediatly select the current date.
However this isn't as simple a just adding a MouseDoubleClick event (even if its there for this purpose)
The problem depends on the style you apply to the datepicker. If you use the default style, then the double click would trigger on the textbox, but not on the button opening the calender popup.

Maybe you should use a single button for setting the current date.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900