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
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property GroupByDirection As ContentByQueryWebPart.SortDirection
    Get
    Set
'Usage
Dim instance As ContentByQueryWebPart
Dim value As ContentByQueryWebPart.SortDirection

value = instance.GroupByDirection

instance.GroupByDirection = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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