ClassVirtualGridDateTimeEditor
Represents a date time editor in RadVirtualGrid.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
[RadToolboxItem(false)]
public class VirtualGridDateTimeEditor : BaseVirtualGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Inheritance: objectBaseInputEditorBaseVirtualGridEditorVirtualGridDateTimeEditor
Implements:
Inherited Members
Constructors
VirtualGridDateTimeEditor()
Initializes a new instance of the RadDateTimeEditor class.
Declaration
public VirtualGridDateTimeEditor()
Properties
CustomFormat
Gets or sets the custom date/time format string.
DataType
Gets the type of the editor value
IsModified
Gets if 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()
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.
IsCurrentDateValid()
Determines whether the current value is a valid date.
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.