Share via


SPGridView.AllowGroupCollapse property

Gets or sets the Boolean value that specifies whether groups can be collapsed.

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

Syntax

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

value = instance.AllowGroupCollapse

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

Property value

Type: System.Boolean

See also

Reference

SPGridView class

SPGridView members

Microsoft.SharePoint.WebControls namespace