Skip to main content
A newer version of this page is available. .
Tab

PanelCollapsingSettings.ExpandOnPageLoad Property

Gets or sets a value that specifies whether the panel should be rendered in the expanded state on page load.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(false)]
public bool ExpandOnPageLoad { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if a panel is expanded on first page load; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExpandOnPageLoad
ASPxCallbackPanel
.SettingsCollapsing.ExpandOnPageLoad
ASPxCollapsiblePanel
.SettingsCollapsing.ExpandOnPageLoad
ASPxPanel
.SettingsCollapsing.ExpandOnPageLoad
CallbackPanelSettings
.SettingsCollapsing.ExpandOnPageLoad
CollapsiblePanelSettings
.SettingsCollapsing.ExpandOnPageLoad
MVCxCallbackPanel
.SettingsCollapsing.ExpandOnPageLoad
MVCxPanel
.SettingsCollapsing.ExpandOnPageLoad
PanelSettings
.SettingsCollapsing.ExpandOnPageLoad

Remarks

When the panel’s ASPxCollapsiblePanel.Collapsible property is set to true, the panel is rendered initially collapsed. To expand the collapsed panel on the first page load, set the ExpandOnPageLoad property to true.

Note

When any of the PanelAdaptivitySettings.CollapseAtWindowInnerHeight or PanelAdaptivitySettings.CollapseAtWindowInnerWidth properties are defined, the panel state will depend on the browser inner width.

See Also