private OnSelectedMonthChanged ( DateTime selectedMonth ) : void | ||
selectedMonth | DateTime | Inherited code: Requires comment 1. |
return | void |
private void OnSelectedMonthChanged(DateTime? selectedMonth)
{
if (selectedMonth.HasValue)
{
Debug.Assert(DisplayMode == CalendarMode.Year, "DisplayMode should be Year!");
SelectedMonth = selectedMonth.Value;
UpdateMonths();
}
}