# GrapeCity.Wpf.SpreadSheet.AlternatingStyle.Orientation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_AlternatingStyle_Orientation_" data-uid="GrapeCity.Wpf.SpreadSheet.AlternatingStyle.Orientation*">Orientation Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_AlternatingStyle_Orientation_" data-uid="GrapeCity.Wpf.SpreadSheet.AlternatingStyle.Orientation*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_AlternatingStyle_Orientation" data-uid="GrapeCity.Wpf.SpreadSheet.AlternatingStyle.Orientation">Orientation</h4>
<div class="markdown level1 summary"><p>Gets or sets the text orientation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override int Orientation { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Property Orientation As Integer</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.int32">int</a></td>
      <td><p>An integer value represents the text orientation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="GrapeCity.Wpf.SpreadSheet.StyleObjectInfo.Orientation.html#GrapeCity_Wpf_SpreadSheet_StyleObjectInfo_Orientation">StyleObjectInfo.Orientation</a></div>
<h5 id="GrapeCity_Wpf_SpreadSheet_AlternatingStyle_Orientation_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>There are special values that can be set to <a class="xref" href="GrapeCity.Wpf.SpreadSheet.StyleObjectInfo.Orientation.html#GrapeCity_Wpf_SpreadSheet_StyleObjectInfo_Orientation">Orientation</a>. They can be found from <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Alignment.html">Alignment</a>.</p>
<p>
Horizontal text: <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Alignment.HorizontalText.html">HorizontalText</a></p><p>
Upward text: <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Alignment.UpwardText.html">UpwardText</a></p><p>
Downward text: <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Alignment.DownwardText.html">DownwardText</a></p><p>
Vertical text: <a class="xref" href="../GrapeCity.Spreadsheet/GrapeCity.Spreadsheet.Alignment.VerticalText.html">VerticalText</a></p>
</div>
</div>
