ClassBaseDateTimeEditor
Represents a date time editor.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
[RadToolboxItem(false)]
public class BaseDateTimeEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseDateTimeEditor
Derived Classes:
Implements:
Inherited Members
Constructors
BaseDateTimeEditor()
Initializes a new instance of the RadDateTimeEditor class.
Declaration
public BaseDateTimeEditor()
Properties
CustomFormat
Gets or sets the custom date/time format string.
DataType
Gets the type of the editor value
IsModified
Gets a value indicating whether the editor value is modified.
Declaration
public override bool IsModified { get; }
Property Value
Overrides
MaxValue
Gets or sets the maximum date and time that can be selected in the editor.
MinValue
Gets or sets the minimum date and time that can be selected in the editor.
NullValue
The DateTime value assigned to the date picker when the Value is null
Methods
BeginEdit()
Starts the editing process. Used internally in RadGridView.
Declaration
public override void BeginEdit()
Overrides
CreateEditorElement()
Creates a new editor element.
Declaration
protected override RadElement CreateEditorElement()
Returns
a RadElement if successful
Overrides
EndEdit()
Finishes the editing process. Used internally in RadGridView.
Initialize(object, object)
Initializes the editor. Used internally in RadGridView.
OnKeyDown(KeyEventArgs)
Declaration
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters
e
OnLostFocus()
Declaration
protected virtual void OnLostFocus()