[]
        
(Showing Draft Content)

C1.DataCollection.IDataCollectionEx.CanGroup

CanGroup Method

CanGroup<T>(IDataCollection<T>, string)

Returns true if the data collection supports sorting.

Declaration
public static bool CanGroup<T>(this IDataCollection<T> dataCollection, string groupPath) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

string groupPath

The path of the data item to which the group would be applied.

Returns
Type Description
bool
Type Parameters
Name Description
T

CanGroup<T>(IDataCollection<T>, params GroupDescription[])

Returns true if the data collection supports sorting.

Declaration
public static bool CanGroup<T>(this IDataCollection<T> dataCollection, params GroupDescription[] groupDescriptions) where T : class?
Parameters
Type Name Description
IDataCollection<T> dataCollection

The data collection.

GroupDescription[] groupDescriptions

The group descriptions that determine how the data will be grouped.

Returns
Type Description
bool
Type Parameters
Name Description
T