In Calendar DayRender Event
VB.NET
If e.Day.IsToday Then
e.Cell.ForeColor = Color.Blue
e.Cell.BackColor = Color.Pink
End If
C#
if (e.Day.IsToday)
{
e.Cell.ForeColor = Color.Blue;
e.Cell.BackColor = Color.Pink;
}
In Calendar DayRender Event
VB.NET
If e.Day.IsToday Then
e.Cell.ForeColor = Color.Blue
e.Cell.BackColor = Color.Pink
End If
C#
if (e.Day.IsToday)
{
e.Cell.ForeColor = Color.Blue;
e.Cell.BackColor = Color.Pink;
}
Share with