Imports GrapeCity.Win.CalendarGrid
Dim today As DateTime = DateTime.Today
GcCalendarGrid1.Content(today).Rows(1).Cells(0).Value = "Hello world"
GcCalendarGrid1.Content(today).Rows(1).Cells(0).CellStyle.TopBorder = New CalendarBorderLine(Color.Red, BorderLineStyle.DashDot)
GcCalendarGrid1.Content(today).Rows(1).Cells(0).CellStyle.BottomBorder = New CalendarBorderLine(Color.Red, BorderLineStyle.DashDot)
GcCalendarGrid1.Content(today).Rows(1).Cells(0).CellStyle.LeftBorder = New CalendarBorderLine(Color.Blue, BorderLineStyle.Thin)
GcCalendarGrid1.Content(today).Rows(1).Cells(0).CellStyle.RightBorder = New CalendarBorderLine(Color.Blue, BorderLineStyle.Thin)
GcCalendarGrid1.ScrollIntoView(today)
using GrapeCity.Win.CalendarGrid;
var today = DateTime.Today;
gcCalendarGrid1.Content[today].Rows[1].Cells[0].Value = "Hello world";
gcCalendarGrid1.Content[today].Rows[1].Cells[0].CellStyle.TopBorder = new CalendarBorderLine(Color.Red, BorderLineStyle.DashDot);
gcCalendarGrid1.Content[today].Rows[1].Cells[0].CellStyle.BottomBorder = new CalendarBorderLine(Color.Red, BorderLineStyle.DashDot);
gcCalendarGrid1.Content[today].Rows[1].Cells[0].CellStyle.LeftBorder = new CalendarBorderLine(Color.Blue, BorderLineStyle.Thin);
gcCalendarGrid1.Content[today].Rows[1].Cells[0].CellStyle.RightBorder = new CalendarBorderLine(Color.Blue, BorderLineStyle.Thin);
gcCalendarGrid1.ScrollIntoView(today);