Back to Devexpress

CollapsiblePanelSettings.Collapsible Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-collapsiblepanelsettings-95f9d35f.md

latest1.9 KB
Original Source

CollapsiblePanelSettings.Collapsible Property

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

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public bool Collapsible { get; set; }
vb
Public Property Collapsible As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

The Panel extension has the capability to collapse its content.

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

CallbackPanel

Panel

CollapsiblePanelSettings Class

CollapsiblePanelSettings Members

DevExpress.Web.Mvc Namespace