Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IModelLayoutGroup.IsCollapsibleGroup Property

Specifies whether a layout group can be collapsed.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v21.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(false)]
[ModelBrowsable(typeof(ModelLayoutCollapsibleGroupVisibilityCalculator))]
bool IsCollapsibleGroup { get; set; }

Property Value

Type Default Description
Boolean false

true if a layout card group can be collapsed; otherwise, false.

Remarks

The IsCollapsibleGroup property enables a group of View Items to collapse. This feature helps users to organize complex Detail Views in WinForms and ASP.NET Web Forms applications.

WinForms

IsCollapsibleGroup_WinOpen

ASP.NET Web Forms

IsCollapsibleGroup_WebOpen

To make a selected group collapsible in WinForms and ASP.NET Web Forms projects, invoke the module project’s Model Editor. Navigate to the Views | <DetailView> | Layout node, expand a layout group node, focus a group item node, and set the IsCollapsibleGroup property value to True.

IsCollapsibleGroup_ModelEditor

Alternatively, you can access this property in a platform-specific module or application project and change the setting only for the WinForms or the ASP.NET Web Forms project.

Note that in ASP.NET Web Forms projects, the IsCollapsibleGroup property is applicable only to card groups. For additional information about card groups, refer to the following topic: IModelViewLayoutElementWeb.IsCardGroup.

See Also