I am using wpf framework 3.5 for this I had to use winworms -> datetimepicker. I need to do Binding on the Text
<wfi:WindowsFormsHost >
<wf:DateTimePicker Format="Short" Text="{Binding date, Converter={StaticResource conkey}}" x:Name="p_datePicker" />
</wfi:WindowsFormsHost>
EDIT: Answer: The need to use WPF toolKit DatePicker and do not forget to connect the reffrenses
As Arcturus explained, you can't use bindings on Windows Forms controls. Why don't you use the WPF Toolkit DatePicker
instead ? It has a SelectedDate
property that you can bind