kendoTimePicker
Namespace: Wisej.Web.Ext.Kendo
Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)
The TimePicker enables users to select time values from a predefined list or enter new ones.
- C#
- VB.NET
public class kendoTimePicker : kendoBase
Public Class kendoTimePicker
Inherits kendoBase
Constructors
kendoTimePicker()
Constructs a new instance of the kendoTimePicker class.
Example:
The following example creates a time picker, sets its time and changes the display format through the Options property.
var picker = new kendoTimePicker();
picker.Value = DateTime.Today.AddHours(9);
picker.Options.format = "HH:mm";
picker.Width = 150;
this.Controls.Add(picker);
kendoTimePicker(options)
Constructs a new instance of the kendoTimePicker class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial set of options. |
Example:
The following example creates a time picker that lists the times between 8:00 and 18:00 in steps of 30 minutes.
var picker = new kendoTimePicker(new
{
format = "HH:mm",
interval = 30,
min = DateTime.Today.AddHours(8),
max = DateTime.Today.AddHours(18)
});
picker.Width = 150;
this.Controls.Add(picker);
Properties
Text
String: Not relevant for this class. (Default: "")
Value
DateTime: Gets or sets the value of the kendoTimePicker.