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

    IModelLayoutGroup.IsCollapsibleGroup Property

    Specifies whether a layout group can be collapsed.

    Namespace: DevExpress.ExpressApp.Model

    Assembly: DevExpress.ExpressApp.v19.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 end users organize complex Detail Views in WinForms and ASP.NET applications.

    WinForms

    IsCollapsibleGroup_WinOpen

    ASP.NET

    IsCollapsibleGroup_WebOpen

    To make a selected group collapsible in both the WinForms and ASP.NET 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 platform-specific module or application projects and change the setting only for the WinForms or the ASP.NET project. Note that in ASP.NET projects, the IsCollapsibleGroup property is available if IModelViewLayoutElementWeb.IsCardGroup is True.

    See Also