void setPattenButton_Click(object sender, EventArgs e)
{
Template template = Template.Default;
Section section = template.Row;
// The PatternColor, PatternStyle should be use together
section.PatternColor = Color.Red;
section.PatternStyle = MultiRowHatchStyle.BackwardDiagonal;
// Reload template.
this.gcMultiRow1.Template = template;
}
Private Sub setPattenButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles setPattenButton.Click
Dim template1 As Template = Template.Default
Dim section As Section = template1.Row
' The PatternColor, PatternStyle should be use together
section.PatternColor = Color.Red
section.PatternStyle = MultiRowHatchStyle.BackwardDiagonal
' Reload template.
Me.gcMultiRow1.Template = template1
End Sub