# FarPoint.Win.Spread.CellType.GeneralEditor

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_CellType_GeneralEditor" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor" class="text-break">GeneralEditor Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base control for the cell types derived from GeneralCellType.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="../FarPoint.Win/FarPoint.Win.ElementControl.html">ElementControl</a></div>
    <div class="level5"><a class="xref" href="../FarPoint.Win/FarPoint.Win.SuperEditBase.html">SuperEditBase</a></div>
    <div class="level6"><span class="xref">GeneralEditor</span></div>
      <div class="level7"><a class="xref" href="FarPoint.Win.Spread.CellType.MultiColumnEditor.html">MultiColumnEditor</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.IEditorImeSenteceModeSupport.html">IEditorImeSenteceModeSupport</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ITouchEditor.html">ITouchEditor</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.IInputScopeSupport.html">IInputScopeSupport</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.IVerticalAlignmentSupport.html">IVerticalAlignmentSupport</a></div>
  </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_GeneralEditor_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GeneralEditor : SuperEditBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorImeSenteceModeSupport, ITouchEditor, IInputScopeSupport, IVerticalAlignmentSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class GeneralEditor
    Inherits SuperEditBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IEditorImeSenteceModeSupport, ITouchEditor, IInputScopeSupport, IVerticalAlignmentSupport</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_GeneralEditor__ctor" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.-ctor.html#FarPoint_Win_Spread_CellType_GeneralEditor__ctor">GeneralEditor()</a>
        </td>
        <td class="markdown level1 summary"><p>Constructs a new general editor.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_GeneralEditor_AcceptsArrowKeys" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AcceptsArrowKeys">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AcceptsArrowKeys.html#FarPoint_Win_Spread_CellType_GeneralEditor_AcceptsArrowKeys">AcceptsArrowKeys</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether to accept arrow keys.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_AcceptsReturn" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AcceptsReturn">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AcceptsReturn.html#FarPoint_Win_Spread_CellType_GeneralEditor_AcceptsReturn">AcceptsReturn</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether a return is accepted.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_AutoAdvance" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AutoAdvance">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AutoAdvance.html#FarPoint_Win_Spread_CellType_GeneralEditor_AutoAdvance">AutoAdvance</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the focus moves to another control when the cursor is moved with the arrow keys.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_AutoCompleteCustomSource" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AutoCompleteCustomSource">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AutoCompleteCustomSource.html#FarPoint_Win_Spread_CellType_GeneralEditor_AutoCompleteCustomSource">AutoCompleteCustomSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a custom System.Collections.Specialized.StringCollection when the AutoCompleteSource property is set to CustomSource.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_AutoCompleteMode" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AutoCompleteMode">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AutoCompleteMode.html#FarPoint_Win_Spread_CellType_GeneralEditor_AutoCompleteMode">AutoCompleteMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets how automatic completion works.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_AutoCompleteSource" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AutoCompleteSource">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AutoCompleteSource.html#FarPoint_Win_Spread_CellType_GeneralEditor_AutoCompleteSource">AutoCompleteSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the source of complete strings used for automatic completion.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_BorderStyle" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.BorderStyle">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.BorderStyle.html#FarPoint_Win_Spread_CellType_GeneralEditor_BorderStyle">BorderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_CanShowSelectionGripper" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.CanShowSelectionGripper">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.CanShowSelectionGripper.html#FarPoint_Win_Spread_CellType_GeneralEditor_CanShowSelectionGripper">CanShowSelectionGripper</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the selection gripper can be displayed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_CharacterCasing" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.CharacterCasing">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.CharacterCasing.html#FarPoint_Win_Spread_CellType_GeneralEditor_CharacterCasing">CharacterCasing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the character case.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_CharacterSet" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.CharacterSet">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.CharacterSet.html#FarPoint_Win_Spread_CellType_GeneralEditor_CharacterSet">CharacterSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the character set to use.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_DecimalIncrement" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.DecimalIncrement">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.DecimalIncrement.html#FarPoint_Win_Spread_CellType_GeneralEditor_DecimalIncrement">DecimalIncrement</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the amount by which the value increments when the cursor is in the decimal portion.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_IntegerIncrement" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.IntegerIncrement">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.IntegerIncrement.html#FarPoint_Win_Spread_CellType_GeneralEditor_IntegerIncrement">IntegerIncrement</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the amount by which the value increments when the cursor is in the integer portion.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_MaximumLength" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.MaximumLength">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.MaximumLength.html#FarPoint_Win_Spread_CellType_GeneralEditor_MaximumLength">MaximumLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of characters allowed.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_Multiline" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.Multiline">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.Multiline.html#FarPoint_Win_Spread_CellType_GeneralEditor_Multiline">Multiline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the text box has multiple lines.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_PasswordChar" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.PasswordChar">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.PasswordChar.html#FarPoint_Win_Spread_CellType_GeneralEditor_PasswordChar">PasswordChar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets which character to substitute when the user types in a password.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_ReadOnly" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.ReadOnly">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.ReadOnly.html#FarPoint_Win_Spread_CellType_GeneralEditor_ReadOnly">ReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the cell is read-only (and cannot be edited).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_ScrollBars" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.ScrollBars">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.ScrollBars.html#FarPoint_Win_Spread_CellType_GeneralEditor_ScrollBars">ScrollBars</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the use of scroll bars.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_SubEditor" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditor">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditor.html#FarPoint_Win_Spread_CellType_GeneralEditor_SubEditor">SubEditor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the subeditor in the cell.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_WordWrap" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.WordWrap">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.WordWrap.html#FarPoint_Win_Spread_CellType_GeneralEditor_WordWrap">WordWrap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether text that is too long to fit in the cell wraps to additional lines.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_GeneralEditor_GetDrawingStringFormat_System_Drawing_Rectangle__" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.GetDrawingStringFormat(System.Drawing.Rectangle@)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.GetDrawingStringFormat.html#FarPoint_Win_Spread_CellType_GeneralEditor_GetDrawingStringFormat_System_Drawing_Rectangle__">GetDrawingStringFormat(ref Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a new string format for drawing the text in the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_OnAfterFocus_System_EventArgs_" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.OnAfterFocus(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.OnAfterFocus.html#FarPoint_Win_Spread_CellType_GeneralEditor_OnAfterFocus_System_EventArgs_">OnAfterFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the AfterFocus event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_OnLocationChanged_System_EventArgs_" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.OnLocationChanged(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.OnLocationChanged.html#FarPoint_Win_Spread_CellType_GeneralEditor_OnLocationChanged_System_EventArgs_">OnLocationChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.Control.LocationChanged event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_OnSubEditorClosed_System_EventArgs_" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.OnSubEditorClosed(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.OnSubEditorClosed.html#FarPoint_Win_Spread_CellType_GeneralEditor_OnSubEditorClosed_System_EventArgs_">OnSubEditorClosed(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorClosed.html">SubEditorClosed</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_OnSubEditorOpening_FarPoint_Win_Spread_CellType_GeneralEditor_SubEditorCancelEventArgs_" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.OnSubEditorOpening(FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorCancelEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.OnSubEditorOpening.html#FarPoint_Win_Spread_CellType_GeneralEditor_OnSubEditorOpening_FarPoint_Win_Spread_CellType_GeneralEditor_SubEditorCancelEventArgs_">OnSubEditorOpening(SubEditorCancelEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorOpening.html">SubEditorOpening</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_Reset" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.Reset">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.Reset.html#FarPoint_Win_Spread_CellType_GeneralEditor_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the contents of the control to the default value.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_Select_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.Select(System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.Select.html#FarPoint_Win_Spread_CellType_GeneralEditor_Select_System_Boolean_System_Boolean_">Select(bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Selects a control using the specified direction in the tab order
from which to select the control.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_ShowSubEditor_System_Boolean_" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.ShowSubEditor(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.ShowSubEditor.html#FarPoint_Win_Spread_CellType_GeneralEditor_ShowSubEditor_System_Boolean_">ShowSubEditor(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Shows or hides the subeditor control associated with the cell.</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_GeneralEditor_AfterFocus" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.AfterFocus">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.AfterFocus.html">AfterFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs after the control gets focus.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_SubEditorClosed" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorClosed">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorClosed.html">SubEditorClosed</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the subeditor for a cell closes.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_CellType_GeneralEditor_SubEditorOpening" data-uid="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorOpening">
          <a class="xref" href="FarPoint.Win.Spread.CellType.GeneralEditor.SubEditorOpening.html">SubEditorOpening</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the subeditor for a cell opens.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
