WinRTXamlToolkit.Controls.Calendar.OnSelectedMonthChanged C# (CSharp) Method

OnSelectedMonthChanged() private method

Inherited code: Requires comment.
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();
            }
        }