TimePicker

Derives from Control

Represents a control that allows users to select a time.

time_picker.jpg

Properties

Property Description
AllowSpin Gets or sets a value indicating whether interacting with the spinner will result in increment/decrement operations.
ClipValueToMinMax Gets or sets if the value should be clipped when minimum/maximum is reached.
EndTime Gets or sets the last time listed in the control's dropdown.
Format Gets or sets the time format displayed.
FormatString Gets or sets the format string used when Format is set to Custom.
IsOpen Gets or sets a value indicating whether the dropdown is open.
Maximum Gets or sets the Maximum allowed value.
Minimum Gets or sets the Minimum allowed value.
ShowButtonSpinner Gets or sets a value indicating whether the button spinner is shown.
StartTime Gets or sets the first time listed in the control's dropdown.
TextAlignment Gets or sets the alignment of the time picker's text.
TimeInterval Gets or sets the time interval between the TimeItem items listed in the dropdown.
Value Gets or sets the DateTime value of the TimePicker.
Watermark Gets or sets the watermark to display in the control.
WatermarkTemplate Gets or sets the watermark template.

Events

Event Description
ValueChanged Raised when the Value changes.


Support this project, check out the Plus Edition.
---

Last edited Jun 9 at 5:46 PM by dlafontaine, version 10

Comments

tlhintoq Jun 10, 2012 at 4:09 PM 
Am I just stupid and/or blind? Is there no actual documentation for these controls? You know, like MSDN where there is a list of methods, properties, example use and so on?

henrydee8 May 30, 2012 at 3:23 PM 
Is there a way to hide that drop-down menu button? For our purposes it's just not something we want showing.

zhoufoxcn Mar 31, 2012 at 2:57 PM 
I have been seek for it for serveral days,at the end i developed a timerpicker user control base on another open source user control.

cuiwenke Dec 29, 2011 at 12:24 AM 
very good! Thanks

ladj82 Oct 25, 2011 at 5:43 PM 
Nice component. Could you provide some sample using it inside of a "DataGridTemplateColumn.CellTemplate"... Seems that the value it's not being considered while updating the row... With a regular Textbox works fine.

skst Apr 8, 2011 at 2:13 PM 
Awesome! Thank you. This release is great and perfectly-timed, including almost every (if not every) control I need.

BTW, it should be "sneak peek." :-)