# FarPoint.Win.Spread.FormatCells.ShowDialog

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_FormatCells_ShowDialog_" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog*">ShowDialog Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_FormatCells_ShowDialog_" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog*"></a>
<h4 id="FarPoint_Win_Spread_FormatCells_ShowDialog" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog">ShowDialog()</h4>
<div class="markdown level1 summary"><p>Shows the form as a modal dialog box.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DialogResult ShowDialog()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function ShowDialog() As DialogResult</code></pre>
</div>
<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.dialogresult">DialogResult</a></td>
      <td><p>One of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.dialogresult">DialogResult</a> values.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_FormatCells_ShowDialog_" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog*"></a>
<h4 id="FarPoint_Win_Spread_FormatCells_ShowDialog_System_Windows_Forms_IWin32Window_" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog(System.Windows.Forms.IWin32Window)">ShowDialog(IWin32Window)</h4>
<div class="markdown level1 summary"><p>Shows the form as a modal dialog box with the specified owner.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DialogResult ShowDialog(IWin32Window owner)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function ShowDialog(owner As IWin32Window) As DialogResult</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></td>
      <td><span class="parametername">owner</span></td>
      <td><p>Any object that implements <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a> that represents the top-level window that will own the modal dialog box.</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.dialogresult">DialogResult</a></td>
      <td><p>One of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.dialogresult">DialogResult</a> values.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
