Spread Silverlight Documentation
StartSheetIndex Property (GcSpreadSheet)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class : StartSheetIndex Property
Gets or sets the index of the start sheet in the GrapeCity.Windows.SpreadSheet.UI.GcSpread control.
Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Spread Workbook")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property StartSheetIndex As System.Integer
'Usage
 
Dim instance As GcSpreadSheet
Dim value As System.Integer
 
instance.StartSheetIndex = value
 
value = instance.StartSheetIndex
[System.ComponentModel.Category("Spread Workbook")]
[System.ComponentModel.DefaultValue()]
public System.int StartSheetIndex {get; set;}
Example
This example uses the StartSheetIndex 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

GcSpreadSheet Class
GcSpreadSheet Members