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
Property Value
Type | Default | Description |
---|---|---|
Boolean | 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
- ASP.NET Web Forms
- ASP.NET Core Blazor
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.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.