# FarPoint.Web.Spread.WorksheetTemplate

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_WorksheetTemplate" data-uid="FarPoint.Web.Spread.WorksheetTemplate" class="text-break">WorksheetTemplate Class
</h1>
  <div class="markdown level0 summary"><p>Represents a worksheet layout template for the view.</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"><span class="xref">WorksheetTemplate</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_WorksheetTemplate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class WorksheetTemplate : ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class WorksheetTemplate
    Implements ISerializeSupport</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_Web_Spread_WorksheetTemplate__ctor_FarPoint_Web_Spread_SheetView_" data-uid="FarPoint.Web.Spread.WorksheetTemplate.#ctor(FarPoint.Web.Spread.SheetView)">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.-ctor.html#FarPoint_Web_Spread_WorksheetTemplate__ctor_FarPoint_Web_Spread_SheetView_">WorksheetTemplate(SheetView)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.html">WorksheetTemplate</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_Web_Spread_WorksheetTemplate_ColumnCount" data-uid="FarPoint.Web.Spread.WorksheetTemplate.ColumnCount">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.ColumnCount.html#FarPoint_Web_Spread_WorksheetTemplate_ColumnCount">ColumnCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of columns for the layout template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_ColumnHeaderTemplate" data-uid="FarPoint.Web.Spread.WorksheetTemplate.ColumnHeaderTemplate">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.ColumnHeaderTemplate.html#FarPoint_Web_Spread_WorksheetTemplate_ColumnHeaderTemplate">ColumnHeaderTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the column header template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_LayoutCells" data-uid="FarPoint.Web.Spread.WorksheetTemplate.LayoutCells">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.LayoutCells.html#FarPoint_Web_Spread_WorksheetTemplate_LayoutCells">LayoutCells</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the worksheet layout cells in the data area of the worksheet layout template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_LayoutColumnAxisModel" data-uid="FarPoint.Web.Spread.WorksheetTemplate.LayoutColumnAxisModel">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.LayoutColumnAxisModel.html#FarPoint_Web_Spread_WorksheetTemplate_LayoutColumnAxisModel">LayoutColumnAxisModel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the column information for the layout template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_LayoutColumns" data-uid="FarPoint.Web.Spread.WorksheetTemplate.LayoutColumns">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.LayoutColumns.html#FarPoint_Web_Spread_WorksheetTemplate_LayoutColumns">LayoutColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the layout columns in the data area of the layout template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_LayoutDataModel" data-uid="FarPoint.Web.Spread.WorksheetTemplate.LayoutDataModel">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.LayoutDataModel.html#FarPoint_Web_Spread_WorksheetTemplate_LayoutDataModel">LayoutDataModel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data for the layout template.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_RowTemplate" data-uid="FarPoint.Web.Spread.WorksheetTemplate.RowTemplate">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.RowTemplate.html#FarPoint_Web_Spread_WorksheetTemplate_RowTemplate">RowTemplate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the row template of the sheet.</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_Web_Spread_WorksheetTemplate_Add_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.WorksheetTemplate.Add(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.Add.html#FarPoint_Web_Spread_WorksheetTemplate_Add_System_Int32_System_Int32_">Add(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new layout column or range of layout columns.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_CheckUsedDataIndexes_FarPoint_Web_Spread_Model_ISheetDataModel_" data-uid="FarPoint.Web.Spread.WorksheetTemplate.CheckUsedDataIndexes(FarPoint.Web.Spread.Model.ISheetDataModel)">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.CheckUsedDataIndexes.html#FarPoint_Web_Spread_WorksheetTemplate_CheckUsedDataIndexes_FarPoint_Web_Spread_Model_ISheetDataModel_">CheckUsedDataIndexes(ISheetDataModel)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use. Checks whether any DataIndex exists that is registered more than one time.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_WorksheetTemplate_Remove_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.WorksheetTemplate.Remove(System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.WorksheetTemplate.Remove.html#FarPoint_Web_Spread_WorksheetTemplate_Remove_System_Int32_System_Int32_">Remove(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a column or range of layout columns.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
