Spread WPF Documentation
StartSheetIndex Property (GcSpreadSheet)
Example 


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

GcSpreadSheet Class
GcSpreadSheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.