New to Telerik UI for WinForms? Start a free 30-day trial

Represents a TimePicker editor.

Definition

Constructors

C#
public BaseTimePickerEditor()

Properties

Gets DateTime, the type of values produced by this editor.

C#
public override Type DataType { get; }

Overrides: BaseInputEditor.DataType

Gets or sets the value of the hosted RadTimePickerElement; assignments are passed to the element without conversion.

C#
public override object Value { get; set; }

Overrides: BaseInputEditor.Value

Methods

Applies the editor's right-to-left setting, selects the first editable mask item, focuses the input, and subscribes to edit-time events.

C#
public override void BeginEdit()

Overrides: BaseInputEditor.BeginEdit()

Creates the RadTimePickerElement that hosts the editor's time input.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

Overrides: BaseInputEditor.CreateEditorElement()

Detaches edit-time event handlers and returns the result of the base end-edit operation.

C#
public override bool EndEdit()
Returns:

bool

The result of the base editor's end-edit operation.

Overrides: BaseInputEditor.EndEdit()

This implementation adds, rather than removes, its ValidationError handler. Repeated edit sessions can accumulate handlers.

Provides a key-down hook for derived time-picker editors.

C#
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

The key event data.

C#
protected virtual void OnLostFocus()