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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor*">SeparatorBoxInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor">SeparatorBoxInfo()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.html">SeparatorBoxInfo</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeparatorBoxInfo()</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_SeparatorBoxInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_SeparatorShape_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape)">SeparatorBoxInfo(SeparatorShape)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.html">SeparatorBoxInfo</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeparatorBoxInfo(SeparatorShape separatorShape)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(separatorShape As SeparatorShape)</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="GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape.html">SeparatorShape</a></td>
      <td><span class="parametername">separatorShape</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape.html">SeparatorShape</a> indicates the shape of the separator..</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_SeparatorShape_System_Drawing_Size_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape,System.Drawing.Size)">SeparatorBoxInfo(SeparatorShape, Size)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.html">SeparatorBoxInfo</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeparatorBoxInfo(SeparatorShape separatorShape, Size separatorSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(separatorShape As SeparatorShape, separatorSize As Size)</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="GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape.html">SeparatorShape</a></td>
      <td><span class="parametername">separatorShape</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape.html">SeparatorShape</a> indicates the shape of the separator..</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">separatorSize</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> indicates the size of the separator.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_System_Boolean_System_Drawing_Size_System_Drawing_Color_System_Drawing_Color_GrapeCity_Win_Spread_InputMan_CellType_CharBoxStyle_System_Windows_Forms_Padding_System_Windows_Forms_Padding_GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo_System_Drawing_Font_System_Drawing_ContentAlignment_GrapeCity_Win_Spread_InputMan_CellType_SeparatorShape_System_Drawing_Size_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor(System.Boolean,System.Drawing.Size,System.Drawing.Color,System.Drawing.Color,GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle,System.Windows.Forms.Padding,System.Windows.Forms.Padding,GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo,System.Drawing.Font,System.Drawing.ContentAlignment,GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape,System.Drawing.Size)">SeparatorBoxInfo(bool, Size, Color, Color, CharBoxStyle, Padding, Padding, CharBoxBorderInfo, Font, ContentAlignment, SeparatorShape, Size)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.html">SeparatorBoxInfo</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SeparatorBoxInfo(bool autoSize, Size size, Color backColor, Color foreColor, CharBoxStyle style, Padding margin, Padding padding, CharBoxBorderInfo border, Font font, ContentAlignment contentAlignment, SeparatorShape separatorShape, Size separatorSize)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(autoSize As Boolean, size As Size, backColor As Color, foreColor As Color, style As CharBoxStyle, margin As Padding, padding As Padding, border As CharBoxBorderInfo, font As Font, contentAlignment As ContentAlignment, separatorShape As SeparatorShape, separatorSize As Size)</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.boolean">bool</a></td>
      <td><span class="parametername">autoSize</span></td>
      <td><p>A <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">bool</a> value indicating whether the height of the control automatically
adjusts when the font assigned to the control is changed.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">size</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> indicates the size of the inputable box.</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> indicates the background color.</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> indicates the foreground color.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle.html">CharBoxStyle</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxStyle.html">CharBoxStyle</a> indicates the inputable box style.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Padding</span></td>
      <td><span class="parametername">margin</span></td>
      <td><p>A <span class="xref">System.Windows.Forms.Padding</span> indicates the margins.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Padding</span></td>
      <td><span class="parametername">padding</span></td>
      <td><p>A <span class="xref">System.Windows.Forms.Padding</span> indicates the paddings.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.html">CharBoxBorderInfo</a></td>
      <td><span class="parametername">border</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.html">CharBoxBorderInfo</a> indicates the border of the inputable box.</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 <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.Font</span> indicates the text font of the inputable box.</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="https://learn.microsoft.com/dotnet/api/system.drawing.contentalignment">ContentAlignment</a> value indicates the content alignment of the inputable box.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape.html">SeparatorShape</a></td>
      <td><span class="parametername">separatorShape</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.SeparatorShape.html">SeparatorShape</a> indicating the shape of the separator box.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a></td>
      <td><span class="parametername">separatorSize</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.size">Size</a> indicates the size of the separator box.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_SeparatorBoxInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.SeparatorBoxInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">SeparatorBoxInfo(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 SeparatorBoxInfo(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>
