Added support for WPF DatePicker