Spread WPF Documentation
SheetTabThemeColor Property
Example 


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"
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.