Back to Devexpress

PanelCollapsingSettings.ExpandOnPageLoad Property

aspnet-devexpress-dot-web-dot-panelcollapsingsettings.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool ExpandOnPageLoad { get; set; }
vb
<DefaultValue(False)>
Public Property ExpandOnPageLoad As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to ExpandOnPageLoad
ASP.NET MVC ExtensionsCollapsiblePanelSettings

.SettingsCollapsing .ExpandOnPageLoad

| | ASP.NET Web Forms Controls | ASPxCollapsiblePanel |

.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

PanelCollapsingSettings Class

PanelCollapsingSettings Members

DevExpress.Web Namespace