SetDateRange(DateTime,DateTime) Method
Sets the date range of a WPF calendar or the date of a date picker.

C# Syntax

void SetDateRange( 
   DateTime startDate,
   DateTime endDate
)

Parameters

startDate
The start date of the range.
endDate
The end date of the range.