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

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