Spread Silverlight 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 sets 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, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.