C# Class SourceGrid.Cells.Editors.DateTimePicker

Inheritance: SourceGrid.Cells.Editors.EditorControlBase
显示文件 Open project: zhuangyy/Motion

Public Methods

Method Description
DateTimePicker ( ) : System

Constructor

GetEditedValue ( ) : object

Returns the value inserted with the current editor control

SetEditValue ( object editValue ) : void

Set the specified value in the current editor control.

Protected Methods

Method Description
CreateControl ( ) : Control

Create the editor control

OnChanged ( EventArgs e ) : void
OnSendCharToEditor ( char key ) : void
OnStartingEdit ( CellContext cellContext, Control editorControl ) : void

This method is called just before the edit start. You can use this method to customize the editor with the cell informations.

Method Details

CreateControl() protected method

Create the editor control
protected CreateControl ( ) : Control
return System.Windows.Forms.Control

DateTimePicker() public method

Constructor
public DateTimePicker ( ) : System
return System

GetEditedValue() public method

Returns the value inserted with the current editor control
public GetEditedValue ( ) : object
return object

OnChanged() protected method

protected OnChanged ( EventArgs e ) : void
e System.EventArgs
return void

OnSendCharToEditor() protected method

protected OnSendCharToEditor ( char key ) : void
key char
return void

OnStartingEdit() protected method

This method is called just before the edit start. You can use this method to customize the editor with the cell informations.
protected OnStartingEdit ( CellContext cellContext, Control editorControl ) : void
cellContext CellContext
editorControl System.Windows.Forms.Control
return void

SetEditValue() public method

Set the specified value in the current editor control.
public SetEditValue ( object editValue ) : void
editValue object
return void