# FarPoint.Win.Spread.Dialogs.BuiltInDialogs.ToggleInsertFunction

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_ToggleInsertFunction_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.ToggleInsertFunction*">ToggleInsertFunction Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_ToggleInsertFunction_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.ToggleInsertFunction*"></a>
<h4 id="FarPoint_Win_Spread_Dialogs_BuiltInDialogs_ToggleInsertFunction_FarPoint_Win_Spread_FpSpread_GrapeCity_CalcEngine_Function_" data-uid="FarPoint.Win.Spread.Dialogs.BuiltInDialogs.ToggleInsertFunction(FarPoint.Win.Spread.FpSpread,GrapeCity.CalcEngine.Function)">ToggleInsertFunction(FpSpread, Function)</h4>
<div class="markdown level1 summary"><p>Shows or hides the Insert Function dialog.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Form ToggleInsertFunction(FpSpread spread, Function insertFunc = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ToggleInsertFunction(spread As FpSpread, Optional insertFunc As [Function] = Nothing) As Form</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.FpSpread.html">FpSpread</a></td>
      <td><span class="parametername">spread</span></td>
      <td><p>The <a class="xref" href="FarPoint.Win.Spread.FpSpread.html">FpSpread</a> owner.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.Function.html">Function</a></td>
      <td><span class="parametername">insertFunc</span></td>
      <td></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.form">Form</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a> instance if the dialog is not visible; otherwise, <code>null</code>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
