void setRoundedBorderCornerRadiusToCell_Click(object sender, EventArgs e)
{
Template template1 = gcMultiRow1.Template;
RoundedBorder roundedBorder1 = new RoundedBorder(LineStyle.Medium, Color.Red);
//Only set the TopLeftCorner and TopRightCorner.
roundedBorder1.TopLeftCornerRadius = 0.3f;
roundedBorder1.TopRightCornerRadius = 0.3f;
template1.Row.Cells[0].Style.Border = roundedBorder1;
// Reload template1.
this.gcMultiRow1.Template = template1;
}
Private Sub setRoundedBorderCornerRadiusToCell_Click(ByVal sender As Object, ByVal e As EventArgs) Handles setRoundedBorderCornerRadiusToCell.Click
Dim template1 As Template = gcMultiRow1.Template
Dim roundedBorder1 As New RoundedBorder(LineStyle.Medium, Color.Red)
'Only set the TopLeftCorner and TopRightCorner.
roundedBorder1.TopLeftCornerRadius = 0.3F
roundedBorder1.TopRightCornerRadius = 0.3F
template1.Row.Cells(0).Style.Border = roundedBorder1
' Reload template1.
Me.gcMultiRow1.Template = template1
End Sub