RadDateTimeEditor
Represents a date time editor in RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
[RadToolboxItem(false)]
public class RadDateTimeEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseGridEditorRadDateTimeEditor
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadDateTimeEditor class.
public RadDateTimeEditor()
Properties
Gets or sets the custom date/time format string.
public string CustomFormat { get; set; }
Gets whether the editor is modified.
public override bool IsModified { get; }
The is modified.
Overrides:
Gets or sets the maximum date and time that can be selected in the editor.
public DateTime MaxValue { get; set; }
Gets or sets the minimum date and time that can be selected in the editor.
public DateTime MinValue { get; set; }
The DateTime value assigned to the date picker when the Value is null
public DateTime NullValue { get; set; }
Methods
Begins the edit operation.
public override void BeginEdit()
Overrides:
Creates a new editor element.
protected override RadElement CreateEditorElement()
a RadElement if successful
Overrides:
Determines whether the current date is valid.
Translates system key down events to the owner element.
Handles key up events in the editor.
protected virtual void OnKeyUp(KeyEventArgs e)
A System.Windows.Forms.KeyEventArgs that contains the event data.