Back to Devexpress

GridControl.AllowGroup Property

xamarin-devexpress-dot-mobile-dot-datagrid-dot-gridcontrol-c774802e.md

latest2.1 KB
Original Source

GridControl.AllowGroup Property

Gets or sets whether end-users are allowed to group data in the grid. This is a bindable property.

Namespace : DevExpress.Mobile.DataGrid

Assembly : DevExpress.Mobile.Grid.v18.2.dll

Declaration

csharp
[XtraSerializableProperty]
public bool AllowGroup { get; set; }
vb
<XtraSerializableProperty>
Public Property AllowGroup As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

End-users can group data or remove grouping applied in the grid by tapping the corresponding item in a menu that appears when they touch and hold a column. If the AllowGroup property is set to true , menu items related to grouping are available. Otherwise, end-users cannot group data.

To override the default behavior specified by the grid’s AllowGroup property for an individual column, use the GridColumn.AllowGroup property of the corresponding column object.

See Also

Lesson 4 - Group Data

End-User Restrictions

GridControl Class

GridControl Members

DevExpress.Mobile.DataGrid Namespace