Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is currently the best, free time picker for WPF?

Tags:

I'm looking for a simple time picker control for WPF.

  • I've found this one:

http://marlongrech.wordpress.com/2007/11/18/time-picker/

but it has some issues e.g. you can't type in "00" into it, the second zero won't appear.

  • Silverlight seems to have one:

http://jesseliberty.com/2009/03/28/toolkit-control-%E2%80%93-timepicker/

but it's not for WPF.

  • The WPF Toolkit has a DatePicker but not a TimePicker by itself. Or is there a way to allow the user to enter time and date in the WPFToolkit DatePicker? It returns a DateTime in SelectedDate but I don't see how to allow the user to also choose the time with this control.

What is the best free WPF control to allow users enter time in HH:MM:SS format?

like image 286
Edward Tanguay Avatar asked Dec 02 '09 14:12

Edward Tanguay


People also ask

What is datetime picker?

The DateTimePicker control is used to allow the user to select a date and time, and to display that date and time in the specified format. The DateTimePicker control makes it easy to work with dates and times because it handles a lot of the data validation automatically.

What is date/time picker in Visual Studio?

The DateTimePicker control allows selecting a date and time by editing the displayed values in the control. If you click the arrow in the DateTimePicker control, it displays a month calendar, like a combo box control. The user can make selection by clicking the required date.

What is date/time picker explain with example?

Android Date Picker allows you to select the date consisting of day, month and year in your custom user interface. For this functionality android provides DatePicker and DatePickerDialog components. In this tutorial, we are going to demonstrate the use of Date Picker through DatePickerDialog.


1 Answers

I like the controls from the extended WPF toolkit: Link to source code on github

In the package, the DateTimeUpDown is contained which can be used for your purpose. If you don't want to use the Date part of it, you can set the Format to "ShortTime" or whatever format you wanna have.

Hope that helps.

like image 123
Sören Avatar answered Sep 20 '22 17:09

Sören