# C1.Web.Mvc.GridLayout

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_GridLayout" data-uid="C1.Web.Mvc.GridLayout" class="text-break">GridLayout Class
</h1>
  <div class="markdown level0 summary"><p>Defines the base class represents the grid layout.</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="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><span class="xref">Service</span></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.LayoutBase.html">LayoutBase</a></div>
    <div class="level4"><span class="xref">GridLayout</span></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.AutoGridLayout.html">AutoGridLayout</a></div>
      <div class="level5"><a class="xref" href="C1.Web.Mvc.ManualGridLayout.html">ManualGridLayout</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_GridLayout_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class GridLayout : LayoutBase, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class GridLayout
    Inherits LayoutBase
    Implements IHtmlContent, ITemplate</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="C1_Web_Mvc_GridLayout__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_" data-uid="C1.Web.Mvc.GridLayout.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper)">
          <a class="xref" href="C1.Web.Mvc.GridLayout.-ctor.html#C1_Web_Mvc_GridLayout__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_">GridLayout(IHtmlHelper)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one AutoGridLayout instance.</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="C1_Web_Mvc_GridLayout_CellSize" data-uid="C1.Web.Mvc.GridLayout.CellSize">
          <a class="xref" href="C1.Web.Mvc.GridLayout.CellSize.html#C1_Web_Mvc_GridLayout_CellSize">CellSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the size of the cell in the grid layout. It is in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_GridLayout_CellSpacing" data-uid="C1.Web.Mvc.GridLayout.CellSpacing">
          <a class="xref" href="C1.Web.Mvc.GridLayout.CellSpacing.html#C1_Web_Mvc_GridLayout_CellSpacing">CellSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spacing of the cell in the grid layout. It is in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_GridLayout_GroupSpacing" data-uid="C1.Web.Mvc.GridLayout.GroupSpacing">
          <a class="xref" href="C1.Web.Mvc.GridLayout.GroupSpacing.html#C1_Web_Mvc_GridLayout_GroupSpacing">GroupSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the spacing of the group in the grid layout. It is in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_GridLayout_MaxRowsOrColumns" data-uid="C1.Web.Mvc.GridLayout.MaxRowsOrColumns">
          <a class="xref" href="C1.Web.Mvc.GridLayout.MaxRowsOrColumns.html#C1_Web_Mvc_GridLayout_MaxRowsOrColumns">MaxRowsOrColumns</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of the row count or the column count.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_GridLayout_Orientation" data-uid="C1.Web.Mvc.GridLayout.Orientation">
          <a class="xref" href="C1.Web.Mvc.GridLayout.Orientation.html#C1_Web_Mvc_GridLayout_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the layout orientation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
