Skip to main content

CollapsiblePanelSettings.Collapsible Property

Gets or sets a value indicating whether the panel can collapse its content.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public bool Collapsible { get; set; }

Property Value

Type Description
Boolean

true, if the panel is collapsible; otherwise, false.

Remarks

The Panel extension has the capability to collapse its content.

MVC_Panel_Overview_Expand_Collapse

To enable panel collapsing, you need to set the Collapsible property to true. By default, a panel with collapsing enabled is rendered in the collapsed state. To render the panel initially expanded, set the PanelCollapsingSettings.ExpandOnPageLoad (via CollapsiblePanelSettings.SettingsCollapsing.ExpandOnPageLoad) property to true.

See Also