GrapeCity.Win.MultiRow Namespace > Section Class : BackColor Property |
<SRDescriptionAttribute("Indicates the background color of the Section.")> <FeatureAttribute(Name="Section", Version="V5.0")> <SRCategoryAttribute("Appearance")> Public Property BackColor As Color
[SRDescription("Indicates the background color of the Section.")] [Feature(Name="Section", Version="V5.0")] [SRCategory("Appearance")] public Color BackColor {get; set;}
void setBackColorButton_Click(object sender, EventArgs e) { Template template = Template.Default; Section section = template.Row; section.BackColor = Color.Yellow; // Reload template. this.gcMultiRow1.Template = template; }
Private Sub setBackColorButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles setBackColorButton.Click Dim template1 As Template = Template.Default Dim section As Section = template1.Row section.BackColor = Color.Yellow ' Reload template. Me.gcMultiRow1.Template = template1 End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2