# FarPoint.Win.Spread.CellType.ListBoxCellType.ToVerticalAlignment

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_CellType_ListBoxCellType_ToVerticalAlignment_" data-uid="FarPoint.Win.Spread.CellType.ListBoxCellType.ToVerticalAlignment*">ToVerticalAlignment Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_CellType_ListBoxCellType_ToVerticalAlignment_" data-uid="FarPoint.Win.Spread.CellType.ListBoxCellType.ToVerticalAlignment*"></a>
<h4 id="FarPoint_Win_Spread_CellType_ListBoxCellType_ToVerticalAlignment_FarPoint_Win_Spread_CellVerticalAlignment_" data-uid="FarPoint.Win.Spread.CellType.ListBoxCellType.ToVerticalAlignment(FarPoint.Win.Spread.CellVerticalAlignment)">ToVerticalAlignment(CellVerticalAlignment)</h4>
<div class="markdown level1 summary"><p>Converts a FarPoint.Win.Spread.CellVerticalAlignment value to the corresponding FarPoint.Win.VerticalAlignment value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual VerticalAlignment ToVerticalAlignment(CellVerticalAlignment alignment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function ToVerticalAlignment(alignment As CellVerticalAlignment) As VerticalAlignment</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="FarPoint.Win.Spread.CellVerticalAlignment.html">CellVerticalAlignment</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>FarPoint.Win.Spread.CellVerticalAlignment</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="../FarPoint.Win/FarPoint.Win.VerticalAlignment.html">VerticalAlignment</a></td>
      <td><p>Corresponding FarPoint.Win.VerticalAlignment value</p>
</td>
    </tr>
  </tbody>
</table>
</div>
