[]
Interface implemented by editors and used by the grid to host edit controls on cells.
[Obsolete("Use C1.Win.IEmbeddedEditor instead.")]
public interface IC1EmbeddedEditor
All built-in grid editors implement this interface, as do the controls in the ComponentOne C1Input library.
If you want to use a third-party editor with the C1FlexGrid, consider creating a derived class and implementing this interface.
Note that the methods in IC1EmbeddedEditor are called using reflection. Controls do not need to implement the entire interface. Any public methods with matching signatures (names, parameters, and return values) will be invoked by the grid. The grid supplies default handlers for any methods not implemented by the control.
Name | Description |
---|---|
C1EditorFormat(object, string) | Formats a given value using a specified mask. |
C1EditorGetStyle() | Gets the editor style, which determines the type of button that is displayed in the cell before and during editing (DropDown, Modal, or None). |
C1EditorGetValue() | Gets the current value of the editor. |
C1EditorInitialize(object, IDictionary) | Called to initialize the editor content and styles. |
C1EditorKeyDownFinishEdit(KeyEventArgs) | Gets a value that determines whether a given key should finalize editing. |
C1EditorUpdateBounds(Rectangle) | Called to update the editor's size and position. |
C1EditorValueIsValid() | Gets a value that determines if the editor's current contents are valid. |