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

Represents a date time editor.

Definition

Constructors

Initializes a new instance of the RadDateTimeEditor class.

C#
public BaseDateTimeEditor()

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: BaseInputEditor.DataType

Gets a value indicating whether the editor value is modified.

C#
public override bool IsModified { get; }

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 editor value.

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

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: BaseInputEditor.Initialize(object, object)

C#
protected virtual bool IsCurrentDateValid()
Returns:

bool

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