Class RadDateTimeEditor
Represents a date time editor in RadGridView.
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
[RadToolboxItem(false)]
public class RadDateTimeEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize
Constructors
RadDateTimeEditor()
Initializes a new instance of the RadDateTimeEditor class.
Declaration
public RadDateTimeEditor()
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 whether 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 editor value.
Declaration
public override object Value { get; set; }
Property Value
System.Object
|
Overrides
Methods
BeginEdit()
Begins the edit operation.
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()
Ends the edit operation.
Declaration
public override bool EndEdit()
Returns
System.Boolean
|
Overrides
Initialize(Object, Object)
Initializes the specified owner.
Declaration
public override void Initialize(object owner, object value)
Parameters
System.Object
owner
The owner. |
System.Object
value
The value. |
Overrides
IsCurrentDateValid()
Determines whether the current date is valid.
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. |