private void SetFlatAppearance(object sender, EventArgs e)
{
this.gcCalenderGrid.Template.ColumnCount = 2;
CalendarButtonCellType buttonCellType = new CalendarButtonCellType();
buttonCellType.FlatAppearance.BorderColor = Color.SkyBlue;
buttonCellType.FlatAppearance.BorderSize = 2;
buttonCellType.FlatAppearance.MouseOverBackColor = Color.DeepSkyBlue;
this.gcCalenderGrid.Template.Content.GetCell(1, 1).CellType = buttonCellType;
this.gcCalenderGrid.FlatStyle = FlatStyle.Flat;
}
Private Sub SetFlatAppearance(sender As Object, e As EventArgs)
Me.gcCalenderGrid.Template.ColumnCount = 2
Dim buttonCellType As New CalendarButtonCellType()
buttonCellType.FlatAppearance.BorderColor = Color.SkyBlue
buttonCellType.FlatAppearance.BorderSize = 2
buttonCellType.FlatAppearance.MouseOverBackColor = Color.DeepSkyBlue
Me.gcCalenderGrid.Template.Content.GetCell(1, 1).CellType = buttonCellType
Me.gcCalenderGrid.FlatStyle = FlatStyle.Flat
End Sub