Tab
A newer version of this page is available. Switch to the current version.

ASPxPopupMenu.PopupHorizontalAlign Property

Gets or sets a popup menu's horizontal alignment.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(PopupHorizontalAlign.NotSet)]
public PopupHorizontalAlign PopupHorizontalAlign { get; set; }
<DefaultValue(PopupHorizontalAlign.NotSet)>
Public Property PopupHorizontalAlign As PopupHorizontalAlign

Property Value

Type Default Description
PopupHorizontalAlign

NotSet

One of the PopupHorizontalAlign enumeration values.

Remarks

The popup menu is aligned horizontally on the x-coordinate of the mouse cursor position by default. Use the PopupHorizontalAlign property to set the menu alignment relative to the corresponding element specified by the ASPxPopupMenu.PopupElementID property, or to display the menu at the center of the browser window.

See Also