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)
Available in Sandboxed Solutions: No

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