# C1.Framework.DropDownFormBase.ApplyDropDownAlign

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_DropDownFormBase_ApplyDropDownAlign_" data-uid="C1.Framework.DropDownFormBase.ApplyDropDownAlign*">ApplyDropDownAlign Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_DropDownFormBase_ApplyDropDownAlign_" data-uid="C1.Framework.DropDownFormBase.ApplyDropDownAlign*"></a>
<h4 id="C1_Framework_DropDownFormBase_ApplyDropDownAlign_System_Int32__System_Int32__System_Int32__System_Int32__System_Drawing_Rectangle_" data-uid="C1.Framework.DropDownFormBase.ApplyDropDownAlign(System.Int32@,System.Int32@,System.Int32@,System.Int32@,System.Drawing.Rectangle)">ApplyDropDownAlign(ref int, ref int, ref int, ref int, Rectangle)</h4>
<div class="markdown level1 summary"><p>Applies the align to the dropdown form.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected void ApplyDropDownAlign(ref int x, ref int y, ref int width, ref int height, Rectangle rect)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub ApplyDropDownAlign(ByRef x As Integer, ByRef y As Integer, ByRef width As Integer, ByRef height As Integer, rect As Rectangle)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">rect</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
