Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V22.2
  • .NET Framework 4.5.2+

    IModelLayoutGroup.IsGroupCollapsed Property

    Specifies the expanded state of a collapsible layout group.

    Namespace: DevExpress.ExpressApp.Model

    Assembly: DevExpress.ExpressApp.v22.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, invoke the module project’s 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 or an application project and change the setting only for the WinForms, ASP.NET Web Forms, or ASP.NET Core Blazor project.

    See Also