@@ -51,7 +51,6 @@ export class CalendarStylesService {
5151 dayCellStyle . eventFontName = this . _preferredFontName ;
5252 dayCellStyle . eventFontStyle = CalendarFontStyle . BoldItalic ;
5353 dayCellStyle . eventTextSize = 8 ;
54- dayCellStyle . cellAlignment = CalendarCellAlignment . VerticalCenter ;
5554 dayCellStyle . cellPaddingHorizontal = 10 ;
5655 dayCellStyle . cellPaddingVertical = 5 ;
5756 dayCellStyle . cellBackgroundColor = this . _lightGreenColor ;
@@ -63,12 +62,45 @@ export class CalendarStylesService {
6362 dayCellStyle . cellTextSize = 10 ;
6463 monthViewStyle . dayCellStyle = dayCellStyle ;
6564
65+ const anotherMonthCellStyle = new DayCellStyle ( ) ;
66+ anotherMonthCellStyle . showEventsText = true ;
67+ anotherMonthCellStyle . eventTextColor = this . _lightGrayColor ;
68+ anotherMonthCellStyle . eventFontName = this . _preferredFontName ;
69+ anotherMonthCellStyle . eventFontStyle = CalendarFontStyle . BoldItalic ;
70+ anotherMonthCellStyle . eventTextSize = 8 ;
71+ anotherMonthCellStyle . cellPaddingHorizontal = 10 ;
72+ anotherMonthCellStyle . cellPaddingVertical = 5 ;
73+ anotherMonthCellStyle . cellBackgroundColor = this . _lightGreenColor ;
74+ anotherMonthCellStyle . cellBorderWidth = 1 ;
75+ anotherMonthCellStyle . cellBorderColor = this . _lightYellowColor ;
76+ anotherMonthCellStyle . cellTextColor = this . _darkBrownColor ;
77+ anotherMonthCellStyle . cellTextFontName = this . _preferredFontName ;
78+ anotherMonthCellStyle . cellTextFontStyle = CalendarFontStyle . Bold ;
79+ anotherMonthCellStyle . cellTextSize = 10 ;
80+ monthViewStyle . anotherMonthCellStyle = anotherMonthCellStyle ;
81+
82+ const disabledCellStyle = new DayCellStyle ( ) ;
83+ disabledCellStyle . showEventsText = true ;
84+ disabledCellStyle . eventTextColor = this . _lightGrayColor ;
85+ disabledCellStyle . eventFontName = this . _preferredFontName ;
86+ disabledCellStyle . eventFontStyle = CalendarFontStyle . BoldItalic ;
87+ disabledCellStyle . eventTextSize = 8 ;
88+ disabledCellStyle . cellPaddingHorizontal = 10 ;
89+ disabledCellStyle . cellPaddingVertical = 5 ;
90+ disabledCellStyle . cellBackgroundColor = this . _lightGrayColor ;
91+ disabledCellStyle . cellBorderWidth = 1 ;
92+ disabledCellStyle . cellBorderColor = this . _lightYellowColor ;
93+ disabledCellStyle . cellTextColor = this . _darkBrownColor ;
94+ disabledCellStyle . cellTextFontName = this . _preferredFontName ;
95+ disabledCellStyle . cellTextFontStyle = CalendarFontStyle . Bold ;
96+ disabledCellStyle . cellTextSize = 10 ;
97+ monthViewStyle . disabledCellStyle = disabledCellStyle ;
98+
6699 const weekendCellStyle = new DayCellStyle ( ) ;
67100 weekendCellStyle . eventTextColor = this . _blueVioletColor ;
68101 weekendCellStyle . eventFontName = this . _preferredFontName ;
69102 weekendCellStyle . eventFontStyle = CalendarFontStyle . BoldItalic ;
70103 weekendCellStyle . eventTextSize = 8 ;
71- weekendCellStyle . cellAlignment = CalendarCellAlignment . VerticalCenter ;
72104 weekendCellStyle . cellPaddingHorizontal = 10 ;
73105 weekendCellStyle . cellPaddingVertical = 5 ;
74106 weekendCellStyle . cellBackgroundColor = this . _orangeColor ;
@@ -85,7 +117,6 @@ export class CalendarStylesService {
85117 selectedCellStyle . eventFontName = this . _preferredFontName ;
86118 selectedCellStyle . eventFontStyle = CalendarFontStyle . Bold ;
87119 selectedCellStyle . eventTextSize = 8 ;
88- selectedCellStyle . cellAlignment = CalendarCellAlignment . VerticalCenter ;
89120 selectedCellStyle . cellPaddingHorizontal = 10 ;
90121 selectedCellStyle . cellPaddingVertical = 5 ;
91122 selectedCellStyle . cellBackgroundColor = this . _lightBrownColor ;
0 commit comments