Back to Devexpress

DateGrouping(DateTime, DateTimeGroupingType) Constructor

officefileapi-devexpress-dot-spreadsheet-dot-dategrouping-dot-ctor-x28-system-dot-datetime-devexpress-dot-spreadsheet-dot-datetimegroupingtype-x29.md

latest1.7 KB
Original Source

DateGrouping(DateTime, DateTimeGroupingType) Constructor

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

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Parameters

NameTypeDescription
valueDateTime

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

DateGrouping Class

DateGrouping Members

DevExpress.Spreadsheet Namespace