# C1.Win.Ribbon.C1Ribbon.CaptionAlignment

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Ribbon_C1Ribbon_CaptionAlignment_" data-uid="C1.Win.Ribbon.C1Ribbon.CaptionAlignment*">CaptionAlignment Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Ribbon_C1Ribbon_CaptionAlignment_" data-uid="C1.Win.Ribbon.C1Ribbon.CaptionAlignment*"></a>
<h4 id="C1_Win_Ribbon_C1Ribbon_CaptionAlignment" data-uid="C1.Win.Ribbon.C1Ribbon.CaptionAlignment">CaptionAlignment</h4>
<div class="markdown level1 summary"><p>Gets or sets how the form caption is horizontally aligned.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Category(&quot;Appearance&quot;)]
[C1Description(&quot;C1Ribbon.CaptionAlignment&quot;, &quot;Specifies how the form caption is horizontally aligned.&quot;)]
public HorizontalAlignment CaptionAlignment { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Category(&quot;Appearance&quot;)&gt;
&lt;C1Description(&quot;C1Ribbon.CaptionAlignment&quot;, &quot;Specifies how the form caption is horizontally aligned.&quot;)&gt;
Public Property CaptionAlignment As HorizontalAlignment</code></pre>
</div>
</div>
