New to Telerik UI for WinForms? Start a free 30-day trial

Applies PropertyGrid commit, cancellation, and value-notification behavior to the date-time editor.

Definition

Constructors

C#
public PropertyGridDateTimeEditor()

Methods

Ends editing on Enter, cancels it on Escape, and forwards other keys to the base editor when its picker and owner row are valid.

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

The key-down event data.

Overrides: BaseDateTimeEditor.OnKeyDown(KeyEventArgs)

Ends the PropertyGrid edit when focus leaves the entire control.

C#
protected override void OnLostFocus()

Overrides: BaseDateTimeEditor.OnLostFocus()

Notifies the owning PropertyGrid table after the date-time value changes.

C#
public override void OnValueChanged()

Overrides: BaseInputEditor.OnValueChanged()

Forwards a pending date-time change to the owning PropertyGrid table.

C#
public override void OnValueChanging(ValueChangingEventArgs e)
Parameters:eValueChangingEventArgs

The proposed value and cancellation state.

Overrides: BaseInputEditor.OnValueChanging(ValueChangingEventArgs)