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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.#ctor*">ItemTemplate Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.#ctor">ItemTemplate()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.html">ItemTemplate</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ItemTemplate()</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_ItemTemplate__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate__ctor_System_Int32_System_Object_System_Drawing_Color_System_Drawing_Color_System_Int32_System_Drawing_Font_GrapeCity_Win_Spread_InputMan_CellType_GradientEffect_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.#ctor(System.Int32,System.Object,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Drawing.Font,GrapeCity.Win.Spread.InputMan.CellType.GradientEffect)">ItemTemplate(int, object, Color, Color, int, Font, GradientEffect)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.html">ItemTemplate</a> class with values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ItemTemplate(int indent, object image, Color backColor, Color foreColor, int height, Font font, GradientEffect gradientEffect)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(indent As Integer, image As Object, backColor As Color, foreColor As Color, height As Integer, font As Font, gradientEffect As GradientEffect)</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">indent</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that represents the indent of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">image</span></td>
      <td><p>An <b>object</b> value that represents the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.Image.html#GrapeCity_Win_Spread_InputMan_CellType_ListItem_Image">Image</a> of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">backColor</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value that represents the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.BackColor.html#GrapeCity_Win_Spread_InputMan_CellType_ListItem_BackColor">BackColor</a> of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">foreColor</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value that represents the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.ForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ListItem_ForeColor">ForeColor</a> of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that represents the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.Height.html#GrapeCity_Win_Spread_InputMan_CellType_ListItem_Height">Height</a> of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Font.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Font">Font</a> value that represents the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.Font.html#GrapeCity_Win_Spread_InputMan_CellType_ListItem_Font">Font</a> of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GradientEffect.html">GradientEffect</a></td>
      <td><span class="parametername">gradientEffect</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.GradientEffect.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_GradientEffect">GradientEffect</a> that represents the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.GradientEffect.html#GrapeCity_Win_Spread_InputMan_CellType_ListItem_GradientEffect">GradientEffect</a> of  the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ListItem.html">ListItem</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
