Spread Silverlight Documentation
BackgroundThemeColor Property (Row)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Row Class : BackgroundThemeColor Property
Gets or sets background theme color for a row.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property BackgroundThemeColor As System.String
'Usage
 
Dim instance As Row
Dim value As System.String
 
instance.BackgroundThemeColor = value
 
value = instance.BackgroundThemeColor
[System.ComponentModel.DefaultValue()]
public System.string BackgroundThemeColor {get; set;}

Property Value

A System.String object that describes the background theme color for cells in this row. The default value is null which means that no theme color is set for the row.
Example
This example sets the BackgroundThemeColor property.
gcSpreadSheet1.Sheets[0].Rows[1].BackgroundThemeColor = "Accent 1 40";
gcSpreadSheet1.Sheets[0].Columns[2].BackgroundThemeColor = "Accent 3 40";
gcSpreadSheet1.Sheets[0].Rows[1].ForegroundThemeColor = "Accent 6 40";
gcSpreadSheet1.Sheets[0].Rows[1].FontTheme = "Heading";
gcSpreadSheet1.Sheets[0].Columns[2].ForegroundThemeColor = "Accent 6 40";
gcSpreadSheet1.Sheets[0].Columns[2].FontTheme = "Headings";         
gcSpreadSheet1.Invalidate();           

private void button1_Click(object sender, RoutedEventArgs e)
{
gcSpreadSheet1.Sheets[0].Cells[0, 0, 2, 2].Text = "Test";
gcSpreadSheet1.Invalidate();
}
GcSpreadSheet1.Sheets(0).Rows(1).BackgroundThemeColor = "Accent 1 40"
GcSpreadSheet1.Sheets(0).Columns(2).BackgroundThemeColor = "Accent 3 40"
GcSpreadSheet1.Sheets(0).Rows(1).ForegroundThemeColor = "Accent 6 40"
GcSpreadSheet1.Sheets(0).Rows(1).FontTheme = "Heading"
GcSpreadSheet1.Sheets(0).Columns(2).ForegroundThemeColor = "Accent 6 40"
GcSpreadSheet1.Sheets(0).Columns(2).FontTheme = "Headings"         
GcSpreadSheet1.Invalidate()    

Private Sub Button1_Click(sender As System.Object, e As System.Windows.RoutedEventArgs) Handles Button1.Click
GcSpreadSheet1.Sheets(0).Cells(0, 0, 2, 2).Text = "Test"
GcSpreadSheet1.Invalidate()
End Sub
See Also

Reference

Row Class
Row Members