Skip to main content

LookUpEditStyleSettings.AllowGrouping Property

Gets or sets a value that specifies whether an end-user can group data within an embedded grid control. This is a dependency property.

Namespace: DevExpress.Xpf.Grid.LookUp

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool AllowGrouping { get; set; }

Property Value

Type Description
Boolean

true to allow an end-user to group data; otherwise, false.

Remarks

End-users can group data in two ways:

  • Drag a column’s header to the group panel (requires the GridViewBase.ShowGroupPanel property to be set to true).
  • Invoke a column’s context menu by right-clicking its header, and select the Group By This Column menu item.

Both methods are allowed if the view’s AllowGrouping property is set to true.

Note

Data grouping requires data sorting to be performed. End-users can group data only if data sorting is allowed.

See Also