[]
Interface that defines the methods required by objects used as editors. Editors allow the user to edit the cell contents.
public interface IEditor
Public Interface IEditor
Name | Description |
---|---|
CancelEditing() | Cancels cell editing. |
GetEditorControl(Appearance, float) | Gets the control associated with the editor. |
GetEditorValue() | Gets the value in the editor control. |
GetPreferredSize(Control) | Gets the preferred (maximum needed) size of the cell for the editor control. |
GetReservedCursor(object) | Gets the cursor reserved for this editor. |
IsReservedKey(KeyEventArgs) | Determines whether the specified key has special meaning to the editor control. |
IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float) | Determines whether the specified cursor location has special meaning to the editor control. |
IsValid(object) | Determines whether the specified value is valid. |
SetEditorValue(object) | Sets the value of the editor control. |
ShowSubEditor() | Shows the subeditor control associated with the cell. |
StartEditing(EventArgs, bool, bool) | Starts cell editing with the specified options. |
StopEditing() | Stops cell editing. |
Name | Description |
---|---|
EditingCanceled | Occurs when editing (in the editor control) has been canceled by the user. |
EditingStopped | Occurs when editing (in the editor control) has been stopped by the user. |