Skip to main content
A newer version of this page is available. .
Tab

GridEditFormPopupSettings.HorizontalAlign Property

Gets or sets the popup edit form‘s horizontal alignment.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(PopupHorizontalAlign.RightSides)]
public PopupHorizontalAlign HorizontalAlign { get; set; }

Property Value

Type Default Description
PopupHorizontalAlign **RightSides**

One of the PopupHorizontalAlign enumeration values.

Available values:

Name Description
NotSet

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

PopupHorizontalAlign_None.png

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.

PopupHorizontalAlign_OutsideLeft.png

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.

PopupHorizontalAlign_LeftSides.png

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.

PopupHorizontalAlign_Center.png

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.

PopupHorizontalAlign_RightSides.png

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.

PopupHorizontalAlign_OutsideRight.png

WindowCenter

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 HorizontalAlign
ASP.NET Controls and MVC Extensions ASPxCardViewPopupControlSettings
.EditForm.HorizontalAlign
ASPxGridViewPopupControlSettings
.EditForm.HorizontalAlign
TreeListPopupControlSettings
.EditForm.HorizontalAlign
MVCxGridViewPopupControlSettings
.EditForm.HorizontalAlign
MVCxTreeList
.SettingsPopupEditForm.HorizontalAlign
MVCxTreeListPopupControlSettings
.EditForm.HorizontalAlign
TreeListSettings
.SettingsPopupEditForm.HorizontalAlign
TreeListSettings<RowType>
.SettingsPopupEditForm.HorizontalAlign
ASP.NET Bootstrap Controls BootstrapCardViewPopupControlSettings
.EditForm.HorizontalAlign
BootstrapGridViewPopupControlSettings
.EditForm.HorizontalAlign

Remarks

Use the HorizontalAlign and GridEditFormPopupSettings.VerticalAlign properties to specify the horizontal and vertical alignments of the popup element, respectively.

See Also