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.v18.2.dll

Declaration

public bool AllowSplitByGroupLevels { get; set; }
Public Property AllowSplitByGroupLevels As Boolean

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