Represents a TimeSpan editor.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class BaseTimeSpanPickerEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseTimeSpanPickerEditor
Derived Classes:
Implements:
Inherited Members
Constructors
public BaseTimeSpanPickerEditor()
Properties
Gets TimeSpan, the value type used by this editor.
public override Type DataType { get; }
Overrides:
Gets the time-span picker element created for this editor.
protected RadTimeSpanPickerElement TimeSpanPickerElement { get; }
Methods
Copies the editor's right-to-left setting to the picker, selects the first editable mask segment, focuses the input, and connects edit-session events.
public override void BeginEdit()
Overrides:
Creates the picker element used to edit a TimeSpan value.
Removes the keyboard, focus, value, popup, and validation-state handlers, then adds another validation-error handler. Repeated sessions can therefore accumulate validation-error callbacks.
Receives key input from the hosted masked text box; override to handle time-span-specific keys. The base implementation does nothing.
Called when the hosted text box loses focus while the picker popup is closed. Override to respond to focus leaving the time-span input; the base implementation does nothing.
protected virtual void OnLostFocus()