Method | Description | |
---|---|---|
CancelEditing ( ) : void |
Stops editing the Cell and ignores any changes
|
|
StartEditing ( ) : void |
Starts editing the Cell
|
|
StopEditing ( ) : void |
Stops editing the Cell and commits any changes
|
|
TextCellEditor ( ) : System |
Initializes a new instance of the TextCellEditor class with default settings
|
Method | Description | |
---|---|---|
OnKeyPress ( object sender, |
Handler for the editors TextBox.KeyPress event
|
|
OnLostFocus ( object sender, |
Handler for the editors TextBox.LostFocus event
|
|
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
|
protected OnKeyPress ( object sender, |
||
sender | object | The object that raised the event |
e | A KeyPressEventArgs that contains the event data | |
return | void |
protected OnLostFocus ( object sender, |
||
sender | object | The object that raised the event |
e | An EventArgs that contains the event data | |
return | void |
protected SetEditLocation ( |
||
cellRect | A Rectangle that represents the size and location /// of the Cell being edited | |
return | void |