We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies


The WPF DateTimePicker (DatePicker) control provides a simple and intuitive interface for picking DateTime. In other words, users can quickly navigate and select dates using months, years, and decades of calendar. The DateTimePicker comprises text box and a dropdown with calendar and clock to pick or edit a date with time. It supports watermark, minimum and maximum dates, date format, nullable, date validation, and much more. In addition, it supports month and year selection by disabling date selection.

wpf datetimepicker displays both date and time

Date format

The WPF DateTimePicker control supports formatting date and time with a wide range of patterns, and allows you to define custom formats.

shows formatting date in wpf datetimepicker


The WPF DateTimePicker control supports display of hint information using watermark text when the selected date is null. In addition, it provides support to define null DateTime value.

wpf datetimepicker showing watermark text for null value


The DatePicker control provides support for editing DateTime using text box. It supports both free flow editing and mask based editing.

editing datetime values in wpf datetimepicker

Date range

Prevents users from selecting a date and time in a particular range by specifying minimum and maximum dates.

wpf datetimepicker shows dates for selection within minimum and maximum date

Style and Themes

The WPF DateTimePicker control support customizing the appearance of editor and calendar as needed. In addition to that, DateTimePicker controls offers built-in themes like Office2016, Office2010, Metro, Blend, etc.


The WPF DateTimePicker supports globalization (internationalization and localization) to translate the names of months, days, today button text, and none button text to any supported language.

wpf datetimepicker shows date time and calendar based on culture

Right To Left

Supports right to left (RTL) direction for users working in right-to-left languages like Hebrew, Arabic, or Persian.

wpf datetimepicker shows right to left direction rendering

WPF DateTimePicker Code Example

Easily get started with the WPF DateTimePicker using a few simple lines of XAML and C# code example as demonstrated below. Also explore our WPF DateTimePicker Example that shows you how to render and configure the datetime picker in WPF.

<syncfusion:DateTimeEdit x:Name="dateTimeEdit" Height="25" Width="120" VerticalAlignment="Center"/>
using Syncfusion.Windows.Controls.Input; 
namespace WpfApp1 
    public partial class MainWindow : Window 
        public MainWindow() 
            // Creating an instance of the DateTimeEdit 
            DateTimeEdit dateTimeEdit = new DateTimeEdit(); 
            // Setting height and width to DateTimeEdit 
            dateTimeEdit.Height = 25; 
            dateTimeEdit.Width = 120; 
            // Adding control into the main window 
            this.Content = dateTimeEdit;         


Frequently Asked Questions

  • A user-friendly interface to pick or edit dates and times.
  • Support for specifying date ranges and restricting date selection.
  • Support for watermark text, date formatting, editing, validation, and much more.
  • Simple configuration and API.
  • Touch-friendly and responsive UI.
  • Extensive demos, documentation to learn quickly and get started with WPF DateTimePicker.

You can find our WPF DateTimePicker demo on

GitHub location.

App center location.

Microsoft location.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion WPF Resources


Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon
Live Chat Icon For mobile