Share via


SPGridView.AllowGrouping property

Gets or sets the Boolean that specifies whether grouping is enabled.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AllowGrouping As Boolean
    Get
    Set
'Usage
Dim instance As SPGridView
Dim value As Boolean

value = instance.AllowGrouping

instance.AllowGrouping = value
public bool AllowGrouping { get; set; }

Property value

Type: System.Boolean

See also

Reference

SPGridView class

SPGridView members

Microsoft.SharePoint.WebControls namespace