Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CalendarDateRange Constructor (DateTime, DateTime)

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

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls (in System.Windows.Controls.dll)

public CalendarDateRange(
	DateTime start,
	DateTime end
)

Parameters

start
Type: System.DateTime
The start of the range to be represented.
end
Type: System.DateTime
The end of the range to be represented.

If end occurs before start, the resulting range will contain the single date start.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft