# C1.Web.Mvc.HeaderTemplateCell.Set

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_HeaderTemplateCell_Set_" data-uid="C1.Web.Mvc.HeaderTemplateCell.Set*">Set Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_HeaderTemplateCell_Set_" data-uid="C1.Web.Mvc.HeaderTemplateCell.Set*"></a>
<h4 id="C1_Web_Mvc_HeaderTemplateCell_Set_System_Int32_System_Int32_System_Int32_System_Int32_System_String_" data-uid="C1.Web.Mvc.HeaderTemplateCell.Set(System.Int32,System.Int32,System.Int32,System.Int32,System.String)">Set(int, int, int, int, string)</h4>
<div class="markdown level1 summary"><p>Set value for properties of cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public HeaderTemplateCell Set(int row, int col, int rowSpan, int colSpan, string title)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function [Set](row As Integer, col As Integer, rowSpan As Integer, colSpan As Integer, title As String) As HeaderTemplateCell</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.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>row position in header table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">col</span></td>
      <td><p>column position in header table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowSpan</span></td>
      <td><p>row span in header table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">colSpan</span></td>
      <td><p>column span in header table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">title</span></td>
      <td><p>Text will appear in this cell.</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="C1.Web.Mvc.HeaderTemplateCell.html">HeaderTemplateCell</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
