[]
        
(Showing Draft Content)

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

Placement Property

Placement

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.

Declaration
[Bindable(true)]
public PlacementMode Placement { get; set; }
<Bindable(True)>
Public Property Placement As PlacementMode
Property Value
Type Description
PlacementMode

A PlacementMode 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.

Remarks

You can position a popup by setting the PlacementTarget, PlacementRectangle, Placement, HorizontalOffset, and VerticalOffset properties. For more information, see Popup Placement Behavior.

If the MenuDropAlignment property is true, setting Placement to Left or Right reverses the position of the drop down; a DropDownWindow with Placement set to Left aligns its left edge with the right edge of PlacementTarget and a DropDownWindow with Placement set to Right aligns its right edge with the left edge of PlacementTarget.