void AppointmentCellDemo_Load(object sender, EventArgs e)
{
this.gcCalendarGrid[new DateTime(2014, 1, 12)][1, 0].Value = "You have an appointment between these days.";
this.gcCalendarGrid[new DateTime(2014, 1, 12)][1, 0].ColumnSpan = 5;
AngleBracketShapeRenderer render = new AngleBracketShapeRenderer();
render.ArrowLength = 15;
render.FillColor = Color.GreenYellow;
render.LineColor = Color.Orange;
render.LineStyle = CalendarShapeLineStyle.Thin;
render.LineWidth = 2;
(this.gcCalendarGrid[DateTime.Today][1, 0].CellType as CalendarAppointmentCellType).Renderer = render;
}
Private Sub AppointmentCellDemo_Load(sender As Object, e As EventArgs)
Me.gcCalendarGrid(New DateTime(2014, 1, 12))(1, 0).Value = "You have an appointment between these days."
Me.gcCalendarGrid(New DateTime(2014, 1, 12))(1, 0).ColumnSpan = 5
Dim render As New AngleBracketShapeRenderer()
render.ArrowLength = 15
render.FillColor = Color.GreenYellow
render.LineColor = Color.Orange
render.LineStyle = CalendarShapeLineStyle.Thin
render.LineWidth = 2
TryCast(Me.gcCalendarGrid(DateTime.Today)(1, 0).CellType, CalendarAppointmentCellType).Renderer = render
End Sub