Spread Silverlight Documentation
SheetTabColor Property (Worksheet)
Example 


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