Class VirtualGridDateTimeEditor
Represents a date time editor in RadVirtualGrid.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
[RadToolboxItem(false)]
public class VirtualGridDateTimeEditor : BaseVirtualGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
VirtualGridDateTimeEditor()
Initializes a new instance of the RadDateTimeEditor class.
Declaration
public VirtualGridDateTimeEditor()
Properties
CustomFormat
Gets or sets the custom date/time format string.
Declaration
public string CustomFormat { get; set; }
Property Value
System.String
|
DataType
Gets the type of the editor value
Declaration
public override Type DataType { get; }
Property Value
System.Type
|
Overrides
IsModified
Gets if the editor is modified.
Declaration
public override bool IsModified { get; }
Property Value
System.Boolean
The is modified. |
Overrides
MaxValue
Gets or sets the maximum date and time that can be selected in the editor.
Declaration
public DateTime MaxValue { get; set; }
Property Value
System.DateTime
|
MinValue
Gets or sets the minimum date and time that can be selected in the editor.
Declaration
public DateTime MinValue { get; set; }
Property Value
System.DateTime
|
NullValue
The DateTime value assigned to the date picker when the Value is null
Declaration
public DateTime NullValue { get; set; }
Property Value
System.DateTime
|
Value
Gets or sets the value.
Declaration
public override object Value { get; set; }
Property Value
System.Object
The value. |
Overrides
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
RadElement
a RadElement if successful |
Overrides
EndEdit()
Finishes the editing process. Used internally in RadGridView.
Declaration
public override bool EndEdit()
Returns
System.Boolean
|
Overrides
Initialize(Object, Object)
Initializes the editor. Used internally in RadGridView.
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
The owner of this editor. |
System.Object
value
The value of the editor. |
Overrides
IsCurrentDateValid()
Determines whether the current value is a valid date.
Declaration
protected virtual bool IsCurrentDateValid()
Returns
System.Boolean
|
OnKeyDown(KeyEventArgs)
Translates system key down events to the owner element.
Declaration
public override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
|
Overrides
OnKeyUp(KeyEventArgs)
Handles key up events in the editor.
Declaration
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters
System.Windows.Forms.KeyEventArgs
e
A System.Windows.Forms.KeyEventArgs that contains the event data. |