ContentByQueryWebPart.GroupByDirection Property

Gets or sets the direction of the group order for the list items.

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

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property GroupByDirection As ContentByQueryWebPart.SortDirection
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As ContentByQueryWebPart.SortDirection

value = instance.GroupByDirection

instance.GroupByDirection = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public ContentByQueryWebPart.SortDirection GroupByDirection { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SortDirection

See Also

Reference

ContentByQueryWebPart Class

ContentByQueryWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace

ContentByQueryWebPart