Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool AutoUpdatePosition { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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