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

Declaration

[DefaultValue(0)]
public int CollapseAtWindowInnerWidth { get; set; }
<DefaultValue(0)>
Public Property CollapseAtWindowInnerWidth As Integer

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:

Object Type Path to CollapseAtWindowInnerWidth
ASPxCallbackPanel
.SettingsAdaptivity.CollapseAtWindowInnerWidth
ASPxCollapsiblePanel
.SettingsAdaptivity.CollapseAtWindowInnerWidth
ASPxPanel
.SettingsAdaptivity.CollapseAtWindowInnerWidth
CallbackPanelSettings
.SettingsAdaptivity.CollapseAtWindowInnerWidth
CollapsiblePanelSettings
.SettingsAdaptivity.CollapseAtWindowInnerWidth
MVCxCallbackPanel
.SettingsAdaptivity.CollapseAtWindowInnerWidth
MVCxPanel
.SettingsAdaptivity.CollapseAtWindowInnerWidth
PanelSettings
.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.

See Also