New to Telerik UI for WinFormsStart a free 30-day trial

Represents a date time editor in RadVirtualGrid.

Definition

Constructors

Initializes a new instance of the RadDateTimeEditor class.

C#
public VirtualGridDateTimeEditor()

Properties

Gets or sets the custom date/time format string.

C#
public string CustomFormat { get; set; }

Gets the type of the editor value

C#
public override Type DataType { get; }

Overrides: BaseVirtualGridEditor.DataType

Gets if the editor is modified.

C#
public override bool IsModified { get; }
Property Value:

The is modified.

Overrides: BaseInputEditor.IsModified

Gets or sets the maximum date and time that can be selected in the editor.

C#
public DateTime MaxValue { get; set; }

Gets or sets the minimum date and time that can be selected in the editor.

C#
public DateTime MinValue { get; set; }

The DateTime value assigned to the date picker when the Value is null

C#
public DateTime NullValue { get; set; }

Gets or sets the value.

C#
public override object Value { get; set; }
Property Value:

The value.

Overrides: BaseInputEditor.Value

Methods

Starts the editing process. Used internally in RadGridView.

C#
public override void BeginEdit()

Overrides: BaseInputEditor.BeginEdit()

Creates a new editor element.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

a RadElement if successful

Overrides: BaseInputEditor.CreateEditorElement()

Finishes the editing process. Used internally in RadGridView.

C#
public override bool EndEdit()
Returns:

bool

Overrides: BaseInputEditor.EndEdit()

Initializes the editor. Used internally in RadGridView.

C#
public override void Initialize(object owner, object value)
Parameters:ownerobject

The owner of this editor.

valueobject

The value of the editor.

Overrides: BaseVirtualGridEditor.Initialize(object, object)

Determines whether the current value is a valid date.

C#
protected virtual bool IsCurrentDateValid()
Returns:

bool

Translates system key down events to the owner element.

C#
public override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

Overrides: BaseVirtualGridEditor.OnKeyDown(KeyEventArgs)

Handles key up events in the editor.

C#
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

A System.Windows.Forms.KeyEventArgs that contains the event data.