Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ModelEditorGroupingHelper.AllowSplitByGroupLevels Property

Specifies, whether or not the groups are split into subgroups using the ModelEditorGroupingHelper.GroupLevels list in the Model Editor‘s Nodes Tree.

Namespace: DevExpress.ExpressApp.ModelEditor

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public bool AllowSplitByGroupLevels { get; set; }

#Property Value

Type Description
Boolean

true, if groups are split into subgroups using the predefined list; otherwise, false.

#Remarks

You can change the AllowSplitByGroupLevels value in the module’s constructor implemented in the MySolution.Module\Module.cs file:

using DevExpress.ExpressApp.ModelEditor;
// ...
public sealed partial class MySolutionModule : ModuleBase {
    public MySolutionModule () {
        InitializeComponent();
        ModelEditorGroupingHelper.Instance.AllowSplitByGroupLevels = true;
    }
    // ...
}

The AllowSplitByGroupLevels property allows splitting for all nodes. To enable or disable splitting for a specific node type, use the ModelEditorGroupingHelper.SplitByGroupLevels method instead.

See Also