.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

DateGrouping(DateTime, DateTimeGroupingType) Constructor

Initializes a new instance of the DateGrouping class with the specified settings.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

public DateGrouping(
    DateTime value,
    DateTimeGroupingType groupingType
)
Public Sub New(
    value As Date,
    groupingType As DateTimeGroupingType
)

Parameters

Name Type Description
value DateTime

A DateTime value which is used to specify a filter criteria according to the grouping type.

groupingType DateTimeGroupingType

A DateTimeGroupingType enumeration member that specifies what part of the DateTime value is used in the criteria.

See Also