Set the DateTime.Now to DateTimePicker in Xaml

Mar 9, 2009 at 7:46 AM
How to Set the DateTime.Now to DateTimePicker in Xaml ?
I don't wanna set value each time in the code  .

Thank s.
Mar 9, 2009 at 9:10 AM
Hi,

 A simple {Binding Source={x:Static sys:DateTime.Now}} should do the trick ;)

Regards,