protected override void GenerateEventsOnGrid(TCalendarGrid grid, DateTime displayMonth) { base.GenerateEventsOnGrid(grid, displayMonth); Dictionary <DateTime, TCalendarSquare> .Enumerator i = grid.GetSquareEnumerator(); while (i.MoveNext()) { List <SolidColorBrush> colors; if (_storedDates.TryGetValue(i.Current.Key, out colors)) { setSquare(colors, i.Current.Value); } if (_storedHolidays.Contains(i.Current.Key)) { setSquareOverlay(OVERLAY_BRUSH, i.Current.Value); } } }
protected override void GenerateEventsOnGrid(TCalendarGrid grid, DateTime displayMonth) { // Nothing }