Spread WPF Documentation
SheetTabThemeColor Property
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SheetTabThemeColor Property
A theme color used to represent the sheet tab color.
Syntax
'Declaration
 
Public Property SheetTabThemeColor As System.String
'Usage
 
Dim instance As Worksheet
Dim value As System.String
 
instance.SheetTabThemeColor = value
 
value = instance.SheetTabThemeColor
public System.string SheetTabThemeColor {get; set;}
Remarks
If the SheetTabColor and SheetTabThemeColor properties are both set for the same sheet, then the last setting takes effect. This property has a high priority when the color is not null.
Example
This example uses the SheetTabThemeColor property.
gcSpreadSheet1.SheetCount = 3;
gcSpreadSheet1.StartSheetIndex = 0;
gcSpreadSheet1.Sheets[0].SheetTabColor = System.Windows.Media.Colors.Magenta;
gcSpreadSheet1.Sheets[1].SheetTabThemeColor = "Accent 6 40";
GcSpreadSheet1.SheetCount = 3
GcSpreadSheet1.StartSheetIndex = 0
GcSpreadSheet1.Sheets(0).SheetTabColor = System.Windows.Media.Colors.Magenta
GcSpreadSheet1.Sheets(1).SheetTabThemeColor = "Accent 6 40"
See Also

Reference

Worksheet Class
Worksheet Members