1
Vote

There break at one point.

description

Hello, There is one problem in usercontrol. When i am select another day of another month there is control is return error.
 var selectedItem = (CalendarItem)CalendarGrid.Children.Single(x =>
                                          x.GetType() == typeof(CalendarItem) &&  ((CalendarItem)x).Value == this.SelectedDate);
there is an error & brteak the project. The error is "Sequence contains no matching element".

comments