Spread WPF Documentation
SheetTabColor Property (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : SheetTabColor Property
A color object used to represent the sheet tab color.
Syntax
'Declaration
 
Public Property SheetTabColor As System.Windows.Media.Color
'Usage
 
Dim instance As Worksheet
Dim value As System.Windows.Media.Color
 
instance.SheetTabColor = value
 
value = instance.SheetTabColor
public System.Windows.Media.Color SheetTabColor {get; set;}
Remarks
If the SheetTabColor and SheetTabThemeColor properties are both set for the same sheet, then the last setting takes effect.
Example
This example sets the SheetTabColor 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