RibbonSettingsPopupMenu.PopupHorizontalAlign Property
Gets or sets a popup menu’s horizontal alignment.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(PopupHorizontalAlign.LeftSides)]
public PopupHorizontalAlign PopupHorizontalAlign { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Popup |
Left |
One of the Popup |
Available values:
Name | Description |
---|---|
Not |
A popup element is displayed on the x-coordinate of the mouse cursor position. |
Outside |
A popup element is displayed to the left of the corresponding HTML element, so that the x-coordinate of the popup element’s right border is equal to the x-coordinate of the HTML element’s left border. |
Left |
A popup element is displayed so that its left border’s x-coordinate equals the x-coordinate of the corresponding HTML element’s left border. |
Center | A popup element is displayed so that the x-coordinate of the popup element’s center equals the x-coordinate of the corresponding HTML element’s center. |
Right |
A popup element is displayed so that the x-coordinate of the popup element’s right border equals the x-coordinate of the corresponding HTML element’s right border. |
Outside |
A popup element is displayed to the right of the corresponding HTML element so that the x-coordinate of the popup element’s left border is equal to the x-coordinate of the HTML element’s right border. |
Window |
A popup element is displayed so that it is horizontally 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 Popup |
---|---|---|
ASP. |
Ribbon |
|
ASP. |
ASPx |
|
#Remarks
Use the PopupHorizontalAlign property to set the popup menu alignment relative to the corresponding button, or to display the menu at the center of the browser window.