[]
        
(Showing Draft Content)

C1.Win.FlexGrid.IC1EmbeddedEditor

IC1EmbeddedEditor Interface

Interface implemented by editors and used by the grid to host edit controls on cells.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
[Obsolete("Use C1.Win.IEmbeddedEditor instead.")]
public interface IC1EmbeddedEditor
Remarks

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.

Methods

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.