[]
Called to initialize the editor content and styles.
void C1EditorInitialize(object value, IDictionary editorAttributes)
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. |
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.