# FarPoint.Win.Spread.CellType.IEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_IEditor" data-uid="FarPoint.Win.Spread.CellType.IEditor" class="text-break">IEditor Interface
</h1>
  <div class="markdown level0 summary"><p>Interface that defines the methods required by objects used as editors.
Editors allow the user to edit the cell contents.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.CellType.html">FarPoint.Win.Spread.CellType</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_CellType_IEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IEditor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IEditor</code></pre>
  </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="FarPoint_Win_Spread_CellType_IEditor_CancelEditing" data-uid="FarPoint.Win.Spread.CellType.IEditor.CancelEditing">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.CancelEditing.html#FarPoint_Win_Spread_CellType_IEditor_CancelEditing">CancelEditing()</a>
        </td>
        <td class="markdown level1 summary"><p>Cancels cell editing.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_GetEditorControl_FarPoint_Win_Spread_Appearance_System_Single_" data-uid="FarPoint.Win.Spread.CellType.IEditor.GetEditorControl(FarPoint.Win.Spread.Appearance,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.GetEditorControl.html#FarPoint_Win_Spread_CellType_IEditor_GetEditorControl_FarPoint_Win_Spread_Appearance_System_Single_">GetEditorControl(Appearance, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the control associated with the editor.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_GetEditorValue" data-uid="FarPoint.Win.Spread.CellType.IEditor.GetEditorValue">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.GetEditorValue.html#FarPoint_Win_Spread_CellType_IEditor_GetEditorValue">GetEditorValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value in the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_GetPreferredSize_System_Windows_Forms_Control_" data-uid="FarPoint.Win.Spread.CellType.IEditor.GetPreferredSize(System.Windows.Forms.Control)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.GetPreferredSize.html#FarPoint_Win_Spread_CellType_IEditor_GetPreferredSize_System_Windows_Forms_Control_">GetPreferredSize(Control)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the preferred (maximum needed) size of the cell for the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_GetReservedCursor_System_Object_" data-uid="FarPoint.Win.Spread.CellType.IEditor.GetReservedCursor(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.GetReservedCursor.html#FarPoint_Win_Spread_CellType_IEditor_GetReservedCursor_System_Object_">GetReservedCursor(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the cursor reserved for this editor.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_IsReservedKey_System_Windows_Forms_KeyEventArgs_" data-uid="FarPoint.Win.Spread.CellType.IEditor.IsReservedKey(System.Windows.Forms.KeyEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.IsReservedKey.html#FarPoint_Win_Spread_CellType_IEditor_IsReservedKey_System_Windows_Forms_KeyEventArgs_">IsReservedKey(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified key has special meaning to the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_IsReservedLocation_System_Drawing_Graphics_System_Int32_System_Int32_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_System_Object_System_Single_" data-uid="FarPoint.Win.Spread.CellType.IEditor.IsReservedLocation(System.Drawing.Graphics,System.Int32,System.Int32,System.Drawing.Rectangle,FarPoint.Win.Spread.Appearance,System.Object,System.Single)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.IsReservedLocation.html#FarPoint_Win_Spread_CellType_IEditor_IsReservedLocation_System_Drawing_Graphics_System_Int32_System_Int32_System_Drawing_Rectangle_FarPoint_Win_Spread_Appearance_System_Object_System_Single_">IsReservedLocation(Graphics, int, int, Rectangle, Appearance, object, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified cursor location has special meaning to the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_IsValid_System_Object_" data-uid="FarPoint.Win.Spread.CellType.IEditor.IsValid(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.IsValid.html#FarPoint_Win_Spread_CellType_IEditor_IsValid_System_Object_">IsValid(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified value is valid.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_SetEditorValue_System_Object_" data-uid="FarPoint.Win.Spread.CellType.IEditor.SetEditorValue(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.SetEditorValue.html#FarPoint_Win_Spread_CellType_IEditor_SetEditorValue_System_Object_">SetEditorValue(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the value of the editor control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_ShowSubEditor" data-uid="FarPoint.Win.Spread.CellType.IEditor.ShowSubEditor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.ShowSubEditor.html#FarPoint_Win_Spread_CellType_IEditor_ShowSubEditor">ShowSubEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Shows the subeditor control associated with the cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_StartEditing_System_EventArgs_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.CellType.IEditor.StartEditing(System.EventArgs,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.StartEditing.html#FarPoint_Win_Spread_CellType_IEditor_StartEditing_System_EventArgs_System_Boolean_System_Boolean_">StartEditing(EventArgs, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Starts cell editing with the specified options.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_StopEditing" data-uid="FarPoint.Win.Spread.CellType.IEditor.StopEditing">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.StopEditing.html#FarPoint_Win_Spread_CellType_IEditor_StopEditing">StopEditing()</a>
        </td>
        <td class="markdown level1 summary"><p>Stops cell editing.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_EditingCanceled" data-uid="FarPoint.Win.Spread.CellType.IEditor.EditingCanceled">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.EditingCanceled.html">EditingCanceled</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when editing (in the editor control) has been canceled by the user.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_IEditor_EditingStopped" data-uid="FarPoint.Win.Spread.CellType.IEditor.EditingStopped">
          <a class="xref" href="FarPoint.Win.Spread.CellType.IEditor.EditingStopped.html">EditingStopped</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when editing (in the editor control) has been stopped by the user.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
