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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor*">SubItemInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_System_Object_System_Object_System_Drawing_ContentAlignment_System_Boolean_System_Boolean_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor(System.Object,System.Object,System.Drawing.ContentAlignment,System.Boolean,System.Boolean)">SubItemInfo(object, object, ContentAlignment, bool, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.html">SubItemInfo</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 SubItemInfo(object value, object tag, ContentAlignment contentAlignment, bool wordWrap, bool ellipsis)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object, tag As Object, contentAlignment As ContentAlignment, wordWrap As Boolean, ellipsis As Boolean)</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.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>An <b>object</b> that indicates the value of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.html">SubItemInfo</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">tag</span></td>
      <td><p>An <b>object</b> that indicates the tag value of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.html">SubItemInfo</a> object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.contentalignment">ContentAlignment</a></td>
      <td><span class="parametername">contentAlignment</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.ContentAlignment.html#GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo_ContentAlignment">ContentAlignment</a> enumeration that indicates the alignment of the content.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">wordWrap</span></td>
      <td><p>A <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">bool</a> value, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> to allow wrapping by word; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">ellipsis</span></td>
      <td><p>A <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">bool</a> value, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> to automatically show the ellipsis when content is not completely displayed; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor(System.Object)">SubItemInfo(object)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.html">SubItemInfo</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 SubItemInfo(object value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(value As Object)</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.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>An <b>object</b> that indicates the value of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.html">SubItemInfo</a> object.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor">SubItemInfo()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.html">SubItemInfo</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 SubItemInfo()</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_SubItemInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SubItemInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SubItemInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">SubItemInfo(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 SubItemInfo(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>
