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

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo" class="text-break">ItemTemplateInfo Class
</h1>
  <div class="markdown level0 summary"><p>Represents an <b>ItemTemplateInfo</b> class that defines a template for the 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">ItemTemplateInfo</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.ideserializationcallback">IDeserializationCallback</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></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_ItemTemplateInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class ItemTemplateInfo : ISerializable, IDeserializationCallback, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class ItemTemplateInfo
    Implements ISerializable, IDeserializationCallback, ISerializeSupport</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_ItemTemplateInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor">ItemTemplateInfo()</a>
        </td>
        <td 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>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.-ctor.html#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)</a>
        </td>
        <td 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>
</td>
      </tr>
      <tr>
        <td 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)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">ItemTemplateInfo(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of this class.</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_ItemTemplateInfo_AutoItemHeight" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.AutoItemHeight">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.AutoItemHeight.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_AutoItemHeight">AutoItemHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the height is preferred.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_BackColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.BackColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.BackColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_Font" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Font">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Font.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_ForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_GradientEffect" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.GradientEffect">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.GradientEffect.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_Height" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Height">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Height.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_Image" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Image">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Image.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_Indent" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Indent">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Indent.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_Deserialize_System_Xml_XmlNodeReader_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Deserialize.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.GetObjectData.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the object data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_ResetFont" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ResetFont">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ResetFont.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_ResetForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ResetForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ResetForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_ResetHeight" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ResetHeight">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ResetHeight.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_ResetHeight">ResetHeight()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the Height property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_Serialize_System_Xml_XmlTextWriter_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.Serialize.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_ShouldSerializeFont" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ShouldSerializeFont">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ShouldSerializeFont.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_ShouldSerializeForeColor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ShouldSerializeForeColor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ShouldSerializeForeColor.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_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_ItemTemplateInfo_ShouldSerializeHeight" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ShouldSerializeHeight">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ItemTemplateInfo.ShouldSerializeHeight.html#GrapeCity_Win_Spread_InputMan_CellType_ItemTemplateInfo_ShouldSerializeHeight">ShouldSerializeHeight()</a>
        </td>
        <td class="markdown level1 summary"><p>Should serialize the height.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
