# C1.Win.FlexGrid.IC1EmbeddedEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_IC1EmbeddedEditor" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor" class="text-break">IC1EmbeddedEditor Interface
</h1>
  <div class="markdown level0 summary"><p>Interface implemented by editors and used by the grid to host edit controls
on cells.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_IC1EmbeddedEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Obsolete(&quot;Use C1.Win.IEmbeddedEditor instead.&quot;)]
public interface IC1EmbeddedEditor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Obsolete(&quot;Use C1.Win.IEmbeddedEditor instead.&quot;)&gt;
Public Interface IC1EmbeddedEditor</code></pre>
  </div>
  <h5 id="C1_Win_FlexGrid_IC1EmbeddedEditor_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>All built-in grid editors implement this interface, as do the controls in the 
ComponentOne <b>C1Input</b> library.</p>
<p>If you want to use a third-party editor with the <a class="xref" href="C1.Win.FlexGrid.C1FlexGrid.html">C1FlexGrid</a>, consider
creating a derived class and implementing this interface.</p>
<p>Note that the methods in <b>IC1EmbeddedEditor</b> are called using reflection. 
Controls do not need to implement the entire interface. Any public methods with matching 
signatures (names, parameters, and return values) will be invoked by the grid. 
The grid supplies default handlers for any methods not implemented by the control.</p>
</div>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorFormat_System_Object_System_String_" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorFormat(System.Object,System.String)">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorFormat.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorFormat_System_Object_System_String_">C1EditorFormat(object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats a given value using a specified mask.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorGetStyle" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorGetStyle">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorGetStyle.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorGetStyle">C1EditorGetStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the editor style, which determines the type of button that is displayed in
the cell before and during editing (DropDown, Modal, or None).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorGetValue" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorGetValue">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorGetValue.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorGetValue">C1EditorGetValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current value of the editor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorInitialize_System_Object_System_Collections_IDictionary_" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorInitialize(System.Object,System.Collections.IDictionary)">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorInitialize.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorInitialize_System_Object_System_Collections_IDictionary_">C1EditorInitialize(object, IDictionary)</a>
        </td>
        <td class="markdown level1 summary"><p>Called to initialize the editor content and styles.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorKeyDownFinishEdit_System_Windows_Forms_KeyEventArgs_" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorKeyDownFinishEdit(System.Windows.Forms.KeyEventArgs)">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorKeyDownFinishEdit.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorKeyDownFinishEdit_System_Windows_Forms_KeyEventArgs_">C1EditorKeyDownFinishEdit(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether a given key should finalize editing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorUpdateBounds_System_Drawing_Rectangle_" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorUpdateBounds(System.Drawing.Rectangle)">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorUpdateBounds.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorUpdateBounds_System_Drawing_Rectangle_">C1EditorUpdateBounds(Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Called to update the editor's size and position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorValueIsValid" data-uid="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorValueIsValid">
          <a class="xref" href="C1.Win.FlexGrid.IC1EmbeddedEditor.C1EditorValueIsValid.html#C1_Win_FlexGrid_IC1EmbeddedEditor_C1EditorValueIsValid">C1EditorValueIsValid()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines if the editor's current contents are valid.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
