DateGrouping.GroupingType Property
Gets which part of the DateTime value is used in the criteria.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
public DateTimeGroupingType GroupingType { get; }
#Property Value
Type | Description |
---|---|
Date |
A Date |
Available values:
Name | Description |
---|---|
None | The Date |
Year | Groups the Date |
Month | Groups the Date |
Day | Groups the Date |
Hour | Groups the Date |
Minute | Groups the Date |
Second | Groups the Date |
#Remarks
The Grouping Type specifies the bottom interval in the DateTime value specified by the DateGrouping.Value property used to filter cell values. A DateGrouping instance with the GroupingType set to DateTimeGroupingType.Month and the Value set to DateTime(2015, 1, 6) filters all DateTime values which occur in January, 2015.