[]
Starts editing a cell in response to a key press.
protected override bool StartEditing(int row, int col, char key, bool force)
| Type | Name | Description |
|---|---|---|
| int | row | Row index. |
| int | col | Column index. |
| char | key | Key that initiated the edit process. |
| bool | force | Whether editing should start even in non-editable cells (e.g. fixed cells). |
| Type | Description |
|---|---|
| bool | True if the editing process was started successfully, false otherwise. |
This method is for internal use. It allows inherited classes to customize the editing process.
Starts editing a cell in response to a mouse action.
protected override bool StartEditing(int row, int col, Point ptMouse, bool dblClick)
| Type | Name | Description |
|---|---|---|
| int | row | Row index. |
| int | col | Column index. |
| Point | ptMouse | Mouse position in client coordinates. |
| bool | dblClick | Whether the action was a double-click. |
| Type | Description |
|---|---|
| bool | True if the editing process was started successfully, false otherwise. |
This method is for internal use. It allows inherited classes to customize the editing process.