[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.CalendarDateRange.-ctor

CalendarDateRange Constructor

CalendarDateRange()

Initializes a new instance of the CalendarDateRange class.

Declaration
public CalendarDateRange()
Public Sub New()

CalendarDateRange(DateTime)

Initializes a new instance of the CalendarDateRange class with a single date.

Declaration
public CalendarDateRange(DateTime day)
Public Sub New(day As Date)
Parameters
Type Name Description
DateTime day

The date to add, which means the Start and End of this CalendarDateRange instance are the same day.

CalendarDateRange(DateTime, DateTime)

Initializes a new instance of the CalendarDateRange class with a range of dates.

Declaration
public CalendarDateRange(DateTime start, DateTime end)
Public Sub New(start As Date, [end] As Date)
Parameters
Type Name Description
DateTime start

The start of the range to be represented.

DateTime end

The end of the range to be represented.

CalendarDateRange(CalendarDateRange)

Initializes a new instance of the CalendarDateRange class with same data.

Declaration
public CalendarDateRange(CalendarDateRange source)
Public Sub New(source As CalendarDateRange)
Parameters
Type Name Description
CalendarDateRange source