# C1.C1Preview.TabPosition.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_TabPosition__ctor_" data-uid="C1.C1Preview.TabPosition.#ctor*">TabPosition Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_TabPosition__ctor_" data-uid="C1.C1Preview.TabPosition.#ctor*"></a>
<h4 id="C1_C1Preview_TabPosition__ctor_C1_C1Preview_Unit_" data-uid="C1.C1Preview.TabPosition.#ctor(C1.C1Preview.Unit)">TabPosition(Unit)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TabPosition.html">TabPosition</a> class,
at the specified position, with the default (<a class="xref" href="C1.C1Preview.TabAlignmentEnum.html#C1_C1Preview_TabAlignmentEnum_Left">Left</a>) text alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabPosition(Unit position)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(position As Unit)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>The tab position, relative to the left edge of the text area.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_TabPosition__ctor_" data-uid="C1.C1Preview.TabPosition.#ctor*"></a>
<h4 id="C1_C1Preview_TabPosition__ctor_C1_C1Preview_Unit_C1_C1Preview_TabAlignmentEnum_" data-uid="C1.C1Preview.TabPosition.#ctor(C1.C1Preview.Unit,C1.C1Preview.TabAlignmentEnum)">TabPosition(Unit, TabAlignmentEnum)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TabPosition.html">TabPosition</a> class,
at the specified position and with the specified text alignment.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabPosition(Unit position, TabAlignmentEnum alignment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(position As Unit, alignment As TabAlignmentEnum)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>The tab position, relative to the left edge of the text area.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.TabAlignmentEnum.html">TabAlignmentEnum</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>The text alignment at this tab position.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_TabPosition__ctor_" data-uid="C1.C1Preview.TabPosition.#ctor*"></a>
<h4 id="C1_C1Preview_TabPosition__ctor_C1_C1Preview_Unit_C1_C1Preview_TabAlignmentEnum_System_Char_" data-uid="C1.C1Preview.TabPosition.#ctor(C1.C1Preview.Unit,C1.C1Preview.TabAlignmentEnum,System.Char)">TabPosition(Unit, TabAlignmentEnum, char)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.TabPosition.html">TabPosition</a> class,
at the specified position and with the specified text alignment and fill character.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabPosition(Unit position, TabAlignmentEnum alignment, char fillChar)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(position As Unit, alignment As TabAlignmentEnum, fillChar As Char)</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="C1.C1Preview.Unit.html">Unit</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>The tab position, relative to the left edge of the text area.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.TabAlignmentEnum.html">TabAlignmentEnum</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>The text alignment at this tab position.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><span class="parametername">fillChar</span></td>
      <td><p>The character used to fill the area between the preceding and the current tab stops.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
