aspnet-devexpress-dot-web-0d9d818d.md
Specifies a popup element’s horizontal alignment.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public enum PopupHorizontalAlign
Public Enum PopupHorizontalAlign
| Name | Description |
|---|---|
NotSet |
A popup element is displayed on the x-coordinate of the mouse cursor position.
|
| OutsideLeft |
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.
|
| LeftSides |
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.
|
| RightSides |
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.
|
| OutsideRight |
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.
|
| WindowCenter |
A popup element is displayed so that it is horizontally aligned at the center of the browser’s window.
|
The following properties accept/return PopupHorizontalAlign values:
Show 11 items
The PopupHorizontalAlign enumerator contains values that specify the horizontal alignment of a popup element (a popup menu or popup window) relative to the corresponding web control or HTML element specified by the PopupElementID property (a popup menu’s ASPxPopupMenu.PopupElementID, a popup control’s ASPxPopupControl.PopupElementID or a popup window’s PopupWindow.PopupElementID). The values of this enumerator are used to set the PopupHorizontalAlign property (the ASPxPopupMenu.PopupHorizontalAlign or ASPxPopupControl.PopupHorizontalAlign).
See Also