PanelAdaptivitySettings.CollapseAtWindowInnerWidth Property
Specifies a the maximum browser window’s inner width when the panel collapses its content.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v22.2.dll
NuGet Package: DevExpress.Web
Declaration
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 MVC Extensions | CallbackPanelSettings |
|
CollapsiblePanelSettings |
|
|
MVCxCallbackPanel |
|
|
MVCxPanel |
|
|
PanelSettings |
|
|
ASP.NET Web Forms Controls | ASPxCallbackPanel |
|
ASPxCollapsiblePanel |
|
|
ASPxPanel |
|
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.