Source code of the tutorial is available for download.
C#
protected override void OnBeforeEventRender(BeforeEventRenderArgs e) { if (e.Recurrent) { if (e.RecurrentException) { e.Areas.Add(new Area().Right(5).Top(5).Visible().CssClass("area_recurring_ex")); } else { e.Areas.Add(new Area().Right(5).Top(5).Visible().CssClass("area_recurring")); } } }
VB.NET
Protected Overrides Sub OnBeforeEventRender(ByVal e As BeforeEventRenderArgs) If e.Recurrent Then If e.RecurrentException Then e.Areas.Add((New Area()).Right(5).Top(5).Visible().CssClass("area_recurring_ex")) Else e.Areas.Add((New Area()).Right(5).Top(5).Visible().CssClass("area_recurring")) End If End If End Sub
CSS
/* active area */ .area_recurring { height: 16px; width: 16px; background: url("repeat16.png"); } .area_recurring_ex { height: 16px; width: 16px; background: url("repeat_exception16.png"); }