Метод | Описание | |
---|---|---|
CancelEditing ( ) : void |
Stops editing the Cell and ignores any changes
|
|
PrepareForEditing ( |
Prepares the CellEditor to edit the specified Cell
|
|
ProcessKeyMessage ( |
Filters out a key message before it is dispatched
|
|
ProcessMouseMessage ( |
Filters out a mouse message before it is dispatched
|
|
StartEditing ( ) : void |
Starts editing the Cell
|
|
StopEditing ( ) : void |
Stops editing the Cell and commits any changes
|
Метод | Описание | |
---|---|---|
CellEditor ( ) : System |
Initializes a new instance of the CellEditor class with default settings
|
|
HideEditControl ( ) : void |
Conceals the editor from the user, but does not remove it from the Table's Control collection
|
|
OnBeginEdit ( |
Raises the BeginEdit event
|
|
OnCancelEdit ( |
Raises the CancelEdit event
|
|
OnEndEdit ( |
Raises the EndEdit event
|
|
RemoveEditControl ( ) : void |
Conceals the editor from the user and removes it from the Table's Control collection
|
|
SetCellValue ( ) : void |
Sets the contents of the Cell being edited based on the value in the editor
|
|
SetEditLocation ( |
Sets the location and size of the CellEditor
|
|
SetEditValue ( ) : void |
Sets the initial value of the editor based on the contents of the Cell being edited
|
|
ShowEditControl ( ) : void |
Displays the editor to the user and adds it to the Table's Control collection
|
protected OnBeginEdit ( |
||
e | A CellEditEventArgs that contains the event data | |
Результат | void |
protected OnCancelEdit ( |
||
e | A CellEditEventArgs that contains the event data | |
Результат | void |
protected OnEndEdit ( |
||
e | A CellEditEventArgs that contains the event data | |
Результат | void |
public PrepareForEditing ( |
||
cell | The Cell to be edited | |
table | The Table that contains the Cell | |
cellPos | A CellPos representing the position of the Cell | |
cellRect | The Rectangle that represents the Cells location and size | |
userSetEditorValues | bool | Specifies whether the ICellEditors /// starting value has already been set by the user |
Результат | bool |
public ProcessKeyMessage ( |
||
target | The Control that will receive the message | |
msg | WindowMessage | A WindowMessage that represents the message to process |
wParam | int | Specifies the WParam field of the message |
lParam | int | Specifies the LParam field of the message |
Результат | bool |
public ProcessMouseMessage ( |
||
target | The Control that will receive the message | |
msg | WindowMessage | A WindowMessage that represents the message to process |
wParam | int | Specifies the WParam field of the message |
lParam | int | Specifies the LParam field of the message |
Результат | bool |
protected abstract SetCellValue ( ) : void | ||
Результат | void |
protected abstract SetEditLocation ( |
||
cellRect | A Rectangle that represents the size and location /// of the Cell being edited | |
Результат | void |
protected abstract SetEditValue ( ) : void | ||
Результат | void |