# FarPoint.Win.Spread.FormatCells

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_FormatCells" data-uid="FarPoint.Win.Spread.FormatCells" class="text-break">FormatCells Class
</h1>
  <div class="markdown level0 summary"><p>Represents the format cell dialog.</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="https://learn.microsoft.com/dotnet/api/system.windows.forms.scrollablecontrol">ScrollableControl</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.containercontrol">ContainerControl</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a></div>
    <div class="level7"><span class="xref">FormatCells</span></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="https://learn.microsoft.com/dotnet/api/system.windows.forms.icontainercontrol">IContainerControl</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_FormatCells_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FormatCells : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FormatCells
    Inherits Form
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl</code></pre>
  </div>
  <h5 id="FarPoint_Win_Spread_FormatCells_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The format cell dialog works in the flat style mode only.</p>
</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_FormatCells__ctor_GrapeCity_Spreadsheet_IRange_FarPoint_Win_Spread_FormatCells_FormatCellsTab_" data-uid="FarPoint.Win.Spread.FormatCells.#ctor(GrapeCity.Spreadsheet.IRange,FarPoint.Win.Spread.FormatCells.FormatCellsTab)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.-ctor.html#FarPoint_Win_Spread_FormatCells__ctor_GrapeCity_Spreadsheet_IRange_FarPoint_Win_Spread_FormatCells_FormatCellsTab_">FormatCells(IRange, FormatCellsTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.FormatCells.html">FormatCells</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells__ctor_GrapeCity_Spreadsheet_IWorksheet_GrapeCity_Spreadsheet_Reference_FarPoint_Win_Spread_FormatCells_FormatCellsTab_" data-uid="FarPoint.Win.Spread.FormatCells.#ctor(GrapeCity.Spreadsheet.IWorksheet,GrapeCity.Spreadsheet.Reference,FarPoint.Win.Spread.FormatCells.FormatCellsTab)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.-ctor.html#FarPoint_Win_Spread_FormatCells__ctor_GrapeCity_Spreadsheet_IWorksheet_GrapeCity_Spreadsheet_Reference_FarPoint_Win_Spread_FormatCells_FormatCellsTab_">FormatCells(IWorksheet, Reference, FormatCellsTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.FormatCells.html">FormatCells</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells__ctor_GrapeCity_Spreadsheet_IWorksheet_GrapeCity_Spreadsheet_Reference___FarPoint_Win_Spread_FormatCells_FormatCellsTab_" data-uid="FarPoint.Win.Spread.FormatCells.#ctor(GrapeCity.Spreadsheet.IWorksheet,GrapeCity.Spreadsheet.Reference[],FarPoint.Win.Spread.FormatCells.FormatCellsTab)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.-ctor.html#FarPoint_Win_Spread_FormatCells__ctor_GrapeCity_Spreadsheet_IWorksheet_GrapeCity_Spreadsheet_Reference___FarPoint_Win_Spread_FormatCells_FormatCellsTab_">FormatCells(IWorksheet, Reference[], FormatCellsTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.FormatCells.html">FormatCells</a> class.</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_FormatCells_FormatModification" data-uid="FarPoint.Win.Spread.FormatCells.FormatModification">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.FormatModification.html#FarPoint_Win_Spread_FormatCells_FormatModification">FormatModification</a>
        </td>
        <td class="markdown level1 summary"><p>Gest the <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.StyleFormatApplyment.html">StyleFormatApplyment</a> value indicates which style is modified.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_SelectedTab" data-uid="FarPoint.Win.Spread.FormatCells.SelectedTab">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.SelectedTab.html#FarPoint_Win_Spread_FormatCells_SelectedTab">SelectedTab</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the current display tab.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_ShowNormalFont" data-uid="FarPoint.Win.Spread.FormatCells.ShowNormalFont">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.ShowNormalFont.html#FarPoint_Win_Spread_FormatCells_ShowNormalFont">ShowNormalFont</a>
        </td>
        <td class="markdown level1 summary"><p>Show Normal Font checkbox.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_StyleFormat" data-uid="FarPoint.Win.Spread.FormatCells.StyleFormat">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.StyleFormat.html#FarPoint_Win_Spread_FormatCells_StyleFormat">StyleFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the modified style format.</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_FormatCells_AccountingFormat_FarPoint_Win_Spread_FpSpread_" data-uid="FarPoint.Win.Spread.FormatCells.AccountingFormat(FarPoint.Win.Spread.FpSpread)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.AccountingFormat.html#FarPoint_Win_Spread_FormatCells_AccountingFormat_FarPoint_Win_Spread_FpSpread_">AccountingFormat(FpSpread)</a>
        </td>
        <td class="markdown level1 summary"><p>Show dialog to select number format with default option is accounting format.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_AddTab_FarPoint_Win_Spread_FormatCells_FormatCellsTab_" data-uid="FarPoint.Win.Spread.FormatCells.AddTab(FarPoint.Win.Spread.FormatCells.FormatCellsTab)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.AddTab.html#FarPoint_Win_Spread_FormatCells_AddTab_FarPoint_Win_Spread_FormatCells_FormatCellsTab_">AddTab(FormatCellsTab)</a>
        </td>
        <td class="markdown level1 summary"><p>Show the specified tabs.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_ClearTabs" data-uid="FarPoint.Win.Spread.FormatCells.ClearTabs">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.ClearTabs.html#FarPoint_Win_Spread_FormatCells_ClearTabs">ClearTabs()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears all tab pages in the dialog.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_Dispose_System_Boolean_" data-uid="FarPoint.Win.Spread.FormatCells.Dispose(System.Boolean)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.Dispose.html#FarPoint_Win_Spread_FormatCells_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_OnClosing_System_ComponentModel_CancelEventArgs_" data-uid="FarPoint.Win.Spread.FormatCells.OnClosing(System.ComponentModel.CancelEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.OnClosing.html#FarPoint_Win_Spread_FormatCells_OnClosing_System_ComponentModel_CancelEventArgs_">OnClosing(CancelEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the System.Windows.Forms.Form.Closing event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_ShowDialog" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.ShowDialog.html#FarPoint_Win_Spread_FormatCells_ShowDialog">ShowDialog()</a>
        </td>
        <td class="markdown level1 summary"><p>Shows the form as a modal dialog box.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_ShowDialog_System_Windows_Forms_IWin32Window_" data-uid="FarPoint.Win.Spread.FormatCells.ShowDialog(System.Windows.Forms.IWin32Window)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.ShowDialog.html#FarPoint_Win_Spread_FormatCells_ShowDialog_System_Windows_Forms_IWin32Window_">ShowDialog(IWin32Window)</a>
        </td>
        <td class="markdown level1 summary"><p>Shows the form as a modal dialog box with the specified owner.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_FormatCells_TryGetNumberFormatCategory_GrapeCity_Spreadsheet_NumberFormat_GrapeCity_Spreadsheet_IWorkbook_GrapeCity_Spreadsheet_PredefinedNumberFormats__" data-uid="FarPoint.Win.Spread.FormatCells.TryGetNumberFormatCategory(GrapeCity.Spreadsheet.NumberFormat,GrapeCity.Spreadsheet.IWorkbook,GrapeCity.Spreadsheet.PredefinedNumberFormats@)">
          <a class="xref" href="FarPoint.Win.Spread.FormatCells.TryGetNumberFormatCategory.html#FarPoint_Win_Spread_FormatCells_TryGetNumberFormatCategory_GrapeCity_Spreadsheet_NumberFormat_GrapeCity_Spreadsheet_IWorkbook_GrapeCity_Spreadsheet_PredefinedNumberFormats__">TryGetNumberFormatCategory(NumberFormat, IWorkbook, out PredefinedNumberFormats)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the category of the specified number format.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
