# GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement*">Placement Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement">Placement</h4>
<div class="markdown level1 summary"><p>Gets or sets the orientation of the Popup control when the control opens, and specifies the behavior of the Popup control when it overlaps screen boundaries. This is a dependency property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Bindable(true)]
public PlacementMode Placement { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Bindable(True)&gt;
Public Property Placement As PlacementMode</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.windows.controls.primitives.placementmode">PlacementMode</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.placementmode">PlacementMode</a> enumeration value that determines the orientation of the Popup control when the control opens, and that specifies how the control interacts with screen boundaries. The default is Bottom.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
    You can position a popup by setting the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.PlacementTarget.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_PlacementTarget">PlacementTarget</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.PlacementRectangle.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_PlacementRectangle">PlacementRectangle</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement">Placement</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.HorizontalOffset.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_HorizontalOffset">HorizontalOffset</a>, and <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.VerticalOffset.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_VerticalOffset">VerticalOffset</a> properties. For more information, see Popup Placement Behavior.
    </p>
<p>
    If the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.systemparameters.menudropalignment">MenuDropAlignment</a> property is true, setting <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement">Placement</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.placementmode#system-windows-controls-primitives-placementmode-left">Left</a> or <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.placementmode#system-windows-controls-primitives-placementmode-right">Right</a> reverses the position of the drop down; a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a> with <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement">Placement</a> set to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.placementmode#system-windows-controls-primitives-placementmode-left">Left</a> aligns its left edge with the right edge of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.PlacementTarget.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_PlacementTarget">PlacementTarget</a> and a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.html">DropDownWindow</a> with <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.Placement.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_Placement">Placement</a> set to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.placementmode#system-windows-controls-primitives-placementmode-right">Right</a> aligns its right edge with the left edge of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow.PlacementTarget.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_DropDownWindow_PlacementTarget">PlacementTarget</a>.
    </p>
</div>
</div>
