# FarPoint.Win.Spread.CellType.BaseCellType.GetReusableEditorControl

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_CellType_BaseCellType_GetReusableEditorControl_" data-uid="FarPoint.Win.Spread.CellType.BaseCellType.GetReusableEditorControl*">GetReusableEditorControl Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_CellType_BaseCellType_GetReusableEditorControl_" data-uid="FarPoint.Win.Spread.CellType.BaseCellType.GetReusableEditorControl*"></a>
<h4 id="FarPoint_Win_Spread_CellType_BaseCellType_GetReusableEditorControl_FarPoint_Win_Spread_CellType_IReuseEditorControl_System_Windows_Forms_Control_FarPoint_Win_Spread_Appearance_System_Single_" data-uid="FarPoint.Win.Spread.CellType.BaseCellType.GetReusableEditorControl(FarPoint.Win.Spread.CellType.IReuseEditorControl,System.Windows.Forms.Control,FarPoint.Win.Spread.Appearance,System.Single)">GetReusableEditorControl(IReuseEditorControl, Control, Appearance, float)</h4>
<div class="markdown level1 summary"><p>Implementation of IReuseEditorControl.GetEditorControl for use by cell types.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Control GetReusableEditorControl(IReuseEditorControl irec, Control parent, Appearance appearance, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function GetReusableEditorControl(irec As IReuseEditorControl, parent As Control, appearance As Appearance, zoomFactor As Single) As Control</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="FarPoint.Win.Spread.CellType.IReuseEditorControl.html">IReuseEditorControl</a></td>
      <td><span class="parametername">irec</span></td>
      <td><p>Editor control to reuse</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></td>
      <td><span class="parametername">parent</span></td>
      <td><p>Parent control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Appearance.html">Appearance</a></td>
      <td><span class="parametername">appearance</span></td>
      <td><p>Appearance settings</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">zoomFactor</span></td>
      <td><p>Numeric value for scaling the display of the control</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></td>
      <td><p>Control</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="FarPoint_Win_Spread_CellType_BaseCellType_GetReusableEditorControl_FarPoint_Win_Spread_CellType_IReuseEditorControl_System_Windows_Forms_Control_FarPoint_Win_Spread_Appearance_System_Single__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>After calling this method, if initialized is false, you must call IReuseEditorControl.InitializeEditorControl to
make the editor control ready for editing.</p>
</div>
</div>
