[]
        
(Showing Draft Content)

C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorInitialize

C1EditorInitialize Method

C1EditorInitialize(object, IDictionary)

Called to initialize the editor content and styles.

Declaration
void C1EditorInitialize(object value, IDictionary editorAttributes)
Parameters
Type Name Description
object value

Contains the grid data that should be displayed in the editor.

IDictionary editorAttributes

Contains a dictionary with keys that correspond to style element names and values for the cell being edited.

Remarks

The editorAttributes dictionary contains the following keys:

BackColor: Cell background color.

ForeColor: Cell foreground color.

Font: Cell font.

Format: Cell format string (e.g. "#,##0.##").

ContentAlignment: Cell text alignment.

Margins: Extra margins around the cell content (in pixels).

Wrap: Whether word wrapping is enabled.