Skip to main content
.NET Framework 4.6.2+

IModelLayoutGroup.IsGroupCollapsed Property

Specifies the expanded state of a collapsible layout group.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

Property Value

Type Default Description
Boolean false

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

Remarks

The IsGroupCollapsed property saves and manages the state of a collapsible layout group. This option defines whether a layout group is collapsed or expanded.

WinForms
IsCollapsibleGroup Win Closed
ASP.NET Web Forms
IsCollapsibleGroup WebForms Closed
ASP.NET Core Blazor
IsCollapsibleGroup Blazor Closed

The IsGroupCollapsed property is available in the Model Editor if the IsCollapsibleGroup property is True. You can change the IsGroupCollapsed value in two ways:

  • Collapse or expand a collapsible layout group in the UI.
  • Access the property in the Model Editor. To do this, double-click the MySolution\Module\Model.xamfl file to invoke Model Editor and navigate to the Views | <DetailView> | Layout node. After that, expand the layout group node, focus the group item node, and change the IsGroupCollapsed property value.

    IsGroupCollapsed_ModelEditor

    Alternatively, you can access this property in a platform-specific module (MySolution\Blazor.Server\Model.xamfl, MySolution\Win\Model.xamfl, or YourSolution\Web\Model.xamfl file) and change the setting for the ASP.NET Core Blazor, Windows Forms, or ASP.NET Web Forms project respectively.

See Also