# GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContentAlignment

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContentAlignment_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContentAlignment*">ContentAlignment Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContentAlignment_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContentAlignment*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContentAlignment" data-uid="GrapeCity.Win.Spread.InputMan.CellType.EditBase.ContentAlignment">ContentAlignment</h4>
<div class="markdown level1 summary"><p>Gets or sets the content alignment of the control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual ContentAlignment ContentAlignment { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Property ContentAlignment As ContentAlignment</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="https://learn.microsoft.com/dotnet/api/system.drawing.contentalignment">ContentAlignment</a></td>
      <td><p>The value indicates the alignment of the content of this control.
<br>
The default is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.contentalignment#system-drawing-contentalignment-topleft">TopLeft</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContentAlignment_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>There are nine alignment types for displaying the content.
Each type can be set using this property.</p>
</div>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_EditBase_ContentAlignment_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.EditBase.Padding.html#GrapeCity_Win_Spread_InputMan_CellType_EditBase_Padding">Padding</a></div>
</div>
</div>
