PopupControlSettings.AutoUpdatePosition Property

Gets or sets the value that specifies whether the default popup window’s position is updated automatically, when required.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v21.1.dll


public bool AutoUpdatePosition { get; set; }

Property Value

Type Description

true if the popup window’s position is updated automatically; otherwise, false.


The AutoUpdatePosition property is in effect if the default popup window is aligned at either a specific element explicitly defined via the PopupControlSettings.PopupElementID property, or at the center of the browser window (the PopupControl’s PopupControlSettings.PopupHorizontalAlign and PopupControlSettings.PopupVerticalAlign properties are set to PopupHorizontalAlign.WindowCenter and PopupVerticalAlign.WindowCenter, respectively).

The AutoUpdatePosition property can be used to control whether the popup window’s position is updated automatically (for example, after resizing the browser window).

See Also