Skip to main content
Tab

PanelAdaptivitySettings.CollapseAtWindowInnerWidth Property

Specifies a the maximum browser window’s inner width when the panel collapses its content.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(0)]
public int CollapseAtWindowInnerWidth { get; set; }

Property Value

Type Default Description
Int32 0

The browser inner window width in pixels.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CollapseAtWindowInnerWidth
ASP.NET Web Forms Controls ASPxCollapsiblePanel
.SettingsAdaptivity .CollapseAtWindowInnerWidth
ASP.NET MVC Extensions CollapsiblePanelSettings
.SettingsAdaptivity .CollapseAtWindowInnerWidth

Remarks

The panel collapses its content when any of the browser window dimensions are less than the values defined by the CollapseAtWindowInnerWidth and PanelAdaptivitySettings.CollapseAtWindowInnerHeight properties.

The CollapseAtWindowInnerWidth property is in effect only when the ASPxCollapsiblePanel.Collapsible property value is set to true.

When the CollapseAtWindowInnerWidth property value is set to 0, the panel does not automatically collapse its content when the browser inner window width is changed. When both the CollapseAtWindowInnerWidth and the PanelAdaptivitySettings.CollapseAtWindowInnerHeight properties are set to 0, the panel’s initial state depends on the PanelCollapsingSettings.ExpandOnPageLoad property value.

Note

The ASPxClientPanel.Collapse and ASPxClientPanel.Expand methods cannot be used when the CollapseAtWindowInnerWidth property is defined.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CollapseAtWindowInnerWidth property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also