Back to Devexpress

GridViewBase.MergedGroupingMode Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridviewbase-f364b137.md

latest2.3 KB
Original Source

GridViewBase.MergedGroupingMode Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public MergedGroupingMode MergedGroupingMode { get; set; }
vb
Public Property MergedGroupingMode As MergedGroupingMode

Property Value

TypeDescription
MergedGroupingMode

A MergedGroupingMode value that is the merged grouping mode.

|

Available values:

NameDescription
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

Group Modes and Custom Grouping

AllowMergedGrouping

GridViewBase Class

GridViewBase Members

DevExpress.Xpf.Grid Namespace