Skip to main content
Tab

RibbonSettingsPopupMenu.PopupVerticalAlign Property

Gets or sets a popup menu’s vertical alignment.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(PopupVerticalAlign.Below)]
public PopupVerticalAlign PopupVerticalAlign { get; set; }

Property Value

Type Default Description
PopupVerticalAlign Below

One of the PopupVerticalAlign enumeration values.

Available values:

Name Description
NotSet

A popup element is displayed on the y-coordinate of the mouse cursor position.

PopupVerticalAlign_None.png

Above

A popup element is displayed above the corresponding HTML element so that the y-coordinate of the popup element’s bottom border is equal to the y-coordinate of the HTML element’s top border.

PopupVerticalAlign_Above.png

TopSides

A popup element is displayed so that the y-coordinate of the popup element’s top border equals the y-coordinate of the corresponding HTML element’s top border.

PopupVerticalAlign_TopSides.png

Middle

A popup element is displayed so that the y-coordinate of the popup element’s center equals the y-coordinate of the corresponding HTML element’s center.

PopupVerticalAlign_Middle.png

BottomSides

A popup element is displayed so that the y-coordinate of the popup element’s bottom border equals the y-coordinate of the corresponding HTML element’s bottom border.

PopupVerticalAlign_BottomSides.png

Below

A popup element is displayed below the corresponding HTML element so that the y-coordinate of the popup element’s top border equals the y-coordinate of the HTML element’s bottom border.

PopupVerticalAlign_Below.png

WindowCenter

A popup element is displayed so that it is vertically aligned at the center of the browser’s window.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to PopupVerticalAlign
ASP.NET MVC Extensions RibbonSettings
.SettingsPopupMenu .PopupVerticalAlign
ASP.NET Web Forms Controls ASPxRibbon
.SettingsPopupMenu .PopupVerticalAlign

Remarks

Use the PopupVerticalAlign property to set the popup menu alignment relative to the corresponding button, or to display the menu at the center of the browser window.

See Also