Skip to main content
Tab

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.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(576)]
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 MVC Extensions PopupControlSettings
.SettingsAdaptivity .SwitchAtWindowInnerWidth
ASP.NET Web Forms Controls ASPxPopupControl
.SettingsAdaptivity .SwitchAtWindowInnerWidth

Remarks

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" />
    <!-- ... -->
</dx:ASPxPopupControl>
See Also