# C1.Win.IEmbeddedEditor.Initialize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_IEmbeddedEditor_Initialize_" data-uid="C1.Win.IEmbeddedEditor.Initialize*">Initialize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_IEmbeddedEditor_Initialize_" data-uid="C1.Win.IEmbeddedEditor.Initialize*"></a>
<h4 id="C1_Win_IEmbeddedEditor_Initialize_System_Object_System_Collections_IDictionary_" data-uid="C1.Win.IEmbeddedEditor.Initialize(System.Object,System.Collections.IDictionary)">Initialize(object, IDictionary)</h4>
<div class="markdown level1 summary"><p>Initializes the editor content and styles.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void Initialize(object value, IDictionary attrs)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub Initialize(value As Object, attrs As IDictionary)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The data that should be displayed in the editor.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.idictionary">IDictionary</a></td>
      <td><span class="parametername">attrs</span></td>
      <td><p>The dictionary for customizing the appearance and behavior of the editor.
Supported keys:
<table><tbody><tr><td class="term">AcceptEscape</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td></tr><tr><td class="term">AcceptReturn</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td></tr><tr><td class="term">AcceptTab</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td></tr><tr><td class="term">DataType</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.type">Type</a></td></tr><tr><td class="term">Format</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td></tr><tr><td class="term">HorizontalAlignment</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.horizontalalignment">HorizontalAlignment</a></td></tr><tr><td class="term">Margins</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.padding">Padding</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.printing.margins">Margins</a></td></tr><tr><td class="term">MaxLength</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td></tr><tr><td class="term">ReadOnly</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td></tr><tr><td class="term">VerticalAlignment</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.visualstyles.verticalalignment">VerticalAlignment</a></td></tr><tr><td class="term">WordWrap</td><td class="description"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td></tr></tbody></table>
</td>
    </tr>
  </tbody>
</table>
</div>
