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

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate" class="text-break">ItemTemplate Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <b>ItemTemplate</b> class to define template for items.</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"><span class="xref">ItemTemplate</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ItemTemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ItemTemplate</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="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate__ctor">ItemTemplate()</a>
        </td>
        <td 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>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.-ctor.html#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)</a>
        </td>
        <td 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>
</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="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_AutoItemHeight" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.AutoItemHeight">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.AutoItemHeight.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_AutoItemHeight">AutoItemHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">bool</a> value whether the height is preferred.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_BackColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.BackColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.BackColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the background color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Font" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Font">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Font.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the foreground color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_GradientEffect" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.GradientEffect">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.GradientEffect.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_GradientEffect">GradientEffect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the gradient effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Height" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Height">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Height.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Image" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Image">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Image.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Image">Image</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Indent" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Indent">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.Indent.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_Indent">Indent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the indent.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ResetFont" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ResetFont">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ResetFont.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ResetFont">ResetFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <b>Font</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ResetForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ResetForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ResetForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ResetForeColor">ResetForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the <b>ForeColor</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ResetHeight" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ResetHeight">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ResetHeight.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ResetHeight">ResetHeight()</a>
        </td>
        <td class="markdown level1 summary"><p>Reset the Height property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ShouldSerializeFont" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ShouldSerializeFont">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ShouldSerializeFont.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ShouldSerializeFont">ShouldSerializeFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Should serialize <b>Font</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ShouldSerializeForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ShouldSerializeForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ShouldSerializeForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ShouldSerializeForeColor">ShouldSerializeForeColor()</a>
        </td>
        <td class="markdown level1 summary"><p>Should serialize <b>ForeColor</b>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ShouldSerializeHeight" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ShouldSerializeHeight">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplate.ShouldSerializeHeight.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplate_ShouldSerializeHeight">ShouldSerializeHeight()</a>
        </td>
        <td class="markdown level1 summary"><p>Shoulds the height of the serialize.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
