Skip to main content
.NET 6.0+

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.1.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 platform-agnostic module’s constructor.

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