Ribbon for WinForms | ComponentOne
C1.Win Namespace / IEmbeddedEditor Interface / Initialize Method
The data that should be displayed in the editor.
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

In This Topic
    Initialize Method (IEmbeddedEditor)
    In This Topic
    Initializes the editor content and styles.
    Syntax
    'Declaration
     
    
    Sub Initialize( _
       ByVal value As Object, _
       ByVal attrs As IDictionary _
    ) 
    void Initialize( 
       object value,
       IDictionary attrs
    )

    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