# GrapeCity.Win.Spread.InputMan.CellType.Grid.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_Grid__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Grid.#ctor*">Grid Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_Grid__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Grid.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_Grid__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Grid.#ctor">Grid()</h4>
<div class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Grid.html">Grid</a> instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Grid()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="GrapeCity_Win_Spread_InputMan_CellType_Grid__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Grid.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_Grid__ctor_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_VerticalFlags_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Grid.#ctor(GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.VerticalFlags)">Grid(Line, Line, Line, Line, Line, Line, Line, VerticalFlags)</h4>
<div class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Grid.html">Grid</a> instance using the
specified attribute settings.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Grid(Line left, Line right, Line top, Line bottom, Line separator, Line horizontal, Line vertical, VerticalFlags verticalFlag)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(left As Line, right As Line, top As Line, bottom As Line, separator As Line, horizontal As Line, vertical As Line, verticalFlag As VerticalFlags)</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="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the left border.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the right border.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the top border.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the bottom border.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">separator</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the separator.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">horizontal</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the horizontal lines.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">vertical</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> structure that represents the vertical lines.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.VerticalFlags.html">VerticalFlags</a></td>
      <td><span class="parametername">verticalFlag</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Grid.VerticalFlag.html#GrapeCity_Win_Spread_InputMan_CellType_Grid_VerticalFlag">VerticalFlag</a> enumeration that represents which
portions to draw the vertical lines.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
