ClassRadDateTimeEditor
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
RadDateTimeEditor()
Initializes a new instance of the RadDateTimeEditor class.
Declaration
public RadDateTimeEditor()
Properties
CustomFormat
Gets or sets the custom date/time format string.
DataType
Gets the type of the editor value
IsModified
Gets whether the editor is modified.
Declaration
public override bool IsModified { get; }
Property Value
The is modified.
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()
Begins the edit operation.
Declaration
public override void BeginEdit()
Overrides
CreateEditorElement()
Creates a new editor element.
Declaration
protected override RadElement CreateEditorElement()
Returns
a RadElement if successful
Overrides
EndEdit()
Ends the edit operation.
Initialize(object, object)
Initializes the specified owner.
IsCurrentDateValid()
Determines whether the current date is valid.
OnKeyDown(KeyEventArgs)
Translates system key down events to the owner element.
Declaration
public override void OnKeyDown(KeyEventArgs e)
Parameters
e
Overrides
OnKeyUp(KeyEventArgs)
Handles key up events in the editor.
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
e
A System.Windows.Forms.KeyEventArgs that contains the event data.