FlexGrid for WinForms
C1EditorInitialize Method



Contains the grid data that should be displayed in the editor.
Contains a dictionary with keys that correspond to style element names and values for the cell being edited.
Called to initialize the editor content and styles.
Syntax
'Declaration
 
Sub C1EditorInitialize( _
   ByVal value As Object, _
   ByVal editorAttributes As IDictionary _
) 
'Usage
 
Dim instance As IC1EmbeddedEditor
Dim value As Object
Dim editorAttributes As IDictionary
 
instance.C1EditorInitialize(value, editorAttributes)
void C1EditorInitialize( 
   object value,
   IDictionary editorAttributes
)
void C1EditorInitialize( 
   Object^ value,
   IDictionary^ editorAttributes
) 

Parameters

value
Contains the grid data that should be displayed in the editor.
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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IC1EmbeddedEditor Interface
IC1EmbeddedEditor Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback