Skip to main content

PopupControlAdaptivitySettings.SwitchAtWindowInnerWidth Property

Gets or sets a value that defines the browser window inner width when the popup window switches from adaptive mode to regular mode.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.1.dll

NuGet Package: DevExpress.Web


public int SwitchAtWindowInnerWidth { get; set; }

Property Value

Type Default Description
Int32 576

The browser inner window width in pixels.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to SwitchAtWindowInnerWidth
ASP.NET Web Forms Controls ASPxPopupControl
.SettingsAdaptivity .SwitchAtWindowInnerWidth
ASP.NET MVC Extensions PopupControlSettings
.SettingsAdaptivity .SwitchAtWindowInnerWidth


When you set the PopupControlAdaptivitySettings.Mode property to PopupControlAdaptivityMode.OnWindowInnerWidth, the popup control automatically toggles adaptivity when the browser window is resized. When the browser window inner width is less than or equal to the value specified by the SwitchAtWindowInnerWidth property, ASPxPopupControl switches to adaptive mode.

<dx:ASPxPopupControl runat="server">
    <SettingsAdaptivity Mode="OnWindowInnerWidth" SwitchAtWindowInnerWidth="600" />
    <!-- ... -->
See Also