Click here to Skip to main content
12,069,894 members (65,548 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: WPF C#3.5
I tried to find a DateTimePicker control in WPF but it cannot be found. Any idea on how can I insert a DateTimePicker into xaml?
Posted 12-Jun-13 22:52pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can go for the WPF toolkit/[^]

hope it helps Smile | :)
  Permalink  
Comments
   
5ed, of course. Somehow I missed this one, referenced two other instead, please see.
—SA
Espen Harlinn 13-Jun-13 17:42pm
   
5'ed!
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Well, better don't try to use System.Windows.Forms.DateTimePicker. It's possible but overcomplicated. These libraries have fundamentally different nature (GDI+ vs. DirectX, which has very little to do with Windows API).

Better look at these two:
http://datetimepickerwpf.codeplex.com/[^],
http://www.c-sharpcorner.com/uploadfile/mahesh/wpf-datetimepicker/[^].

Good luck,
—SA
  Permalink  
Comments
Espen Harlinn 13-Jun-13 17:42pm
   
5'ed!
Sergey Alexandrovich Kryukov 13-Jun-13 18:32pm
   
Thank you, Espen.
—SA

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160208.1 | Last Updated 13 Jun 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100