WebCalendarView™ has the ability to Style days of months that are displayed, but aren’t part of that actual month. Setting the OtherMonthDayStyle helps differentiate the days of the other month from the actual month’s days more clearly.
The following code snippet sets the OtherMonthDayStyle BackColor to Purple.
In Visual Basic:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e _ As System.EventArgs) Handles MyBase.Load Me.WebCalendarView1.OtherMonthDayStyle.BackColor = Color.Purple End Sub
In C#:
private void Page_Load(object sender, System.EventArgs e) { this.WebCalendarView1.OtherMonthDayStyle.BackColor = Color.Purple; }