# GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.DisplayAlignment

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_DisplayAlignment_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.DisplayAlignment*">DisplayAlignment Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_DisplayAlignment_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.DisplayAlignment*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_DisplayAlignment" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.DisplayAlignment">DisplayAlignment</h4>
<div class="markdown level1 summary"><p>Gets or sets the text alignment when displaying the horizontal axis when the control does not have input focus.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DisplayAlignment DisplayAlignment { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property DisplayAlignment As DisplayAlignment</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DisplayAlignment.html">DisplayAlignment</a></td>
      <td><p>One of the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.DisplayAlignment</span> enumeration values that specifies
how text is aligned in the control. <br>The default is <b>DisplayAlignment.None</b>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_DisplayAlignment_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property is used to display text with different character spacing settings.</p>
<div class="NOTE"><h5>note</h5><p>
  If the text of this <b>GcTextBox</b> is longer than this control's width, the character spacing effect disappears.
</p></div>
</div>
</div>
