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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor*">ItemTemplateInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor">ItemTemplateInfo()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.html">ItemTemplateInfo</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 ItemTemplateInfo()</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_ItemTemplateInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__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.ItemTemplateInfo.#ctor(System.Int32,System.Object,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Drawing.Font,GrapeCity.Win.Spread.InputMan.CellType.GradientEffect)">ItemTemplateInfo(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.ItemTemplateInfo.html">ItemTemplateInfo</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 ItemTemplateInfo(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>An <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.ItemTemplateInfo.Font.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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.ItemTemplateInfo.GradientEffect.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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>


<a id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">ItemTemplateInfo(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of this class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected ItemTemplateInfo(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(info As SerializationInfo, context As StreamingContext)</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.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>The information.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>The context.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
