Skip to main content

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.

public class kendoTimePicker : kendoBase

Constructors​

Instance member 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);

Instance member kendoTimePicker(options)​

Constructs a new instance of the kendoTimePicker class.

NameTypeDescription
optionsObjectInitial 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​

Instance member Text​

String: Not relevant for this class. (Default: "")

Instance member Value​

DateTime: Gets or sets the value of the kendoTimePicker.

Implements​