Initialize Method (IEmbeddedEditor)
In This Topic
Initializes the editor content and styles.
Syntax
'Declaration
Sub Initialize( _
ByVal As System.Object, _
ByVal As System.Collections.IDictionary _
)
void Initialize(
System.object ,
System.Collections.IDictionary
)
Parameters
- value
- The data that should be displayed in the editor.
- attrs
- The dictionary for customizing the appearance and behavior of the editor. Supported keys:
AcceptEscape |
System.Boolean |
AcceptReturn |
System.Boolean |
AcceptTab |
System.Boolean |
DataType |
System.Type |
Format |
System.String |
HorizontalAlignment |
System.Windows.Forms.HorizontalAlignment |
Margins |
System.Windows.Forms.Padding or System.Drawing.Printing.Margins |
MaxLength |
System.Int32 |
ReadOnly |
System.Boolean |
VerticalAlignment |
System.Windows.Forms.VisualStyles.VerticalAlignment |
WordWrap |
System.Boolean |
See Also