Skip to main content

GridViewBase.MergedGroupingMode Property

Gets or sets the merged grouping mode. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public MergedGroupingMode MergedGroupingMode { get; set; }

Property Value

Type Description
MergedGroupingMode

A MergedGroupingMode value that is the merged grouping mode.

Available values:

Name Description
CtrlKeyPressed

End-users should hold the Ctrl key pressed when dragging column headers into the group panel to merge groups.

Always

Grid always merges groups when end-users drag column headers into the group panel.

Remarks

Use the GridViewBase.AllowMergedGrouping property to enable the merged grouping feature. This feature allows your end-users to group grid data by multiple columns at once.

By default, an end-user should hold the Ctrl key pressed when dragging column headers to merge groups. To always merge groups when dragging column headers to group panel, set the MergedGroupingMode property to MergedGroupingMode.Always.

See Also