Spread Silverlight Documentation
SheetCount Property (GcSpreadSheet)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > GcSpreadSheet Class : SheetCount Property
Gets or sets the number of sheets for this control.
Syntax
'Declaration
 
<System.ComponentModel.BrowsableAttribute(False)>
<System.ComponentModel.CategoryAttribute("Spread Workbook")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property SheetCount As System.Integer
'Usage
 
Dim instance As GcSpreadSheet
Dim value As System.Integer
 
instance.SheetCount = value
 
value = instance.SheetCount
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.Category("Spread Workbook")]
[System.ComponentModel.DefaultValue()]
public System.int SheetCount {get; set;}

Property Value

The number of sheets for this control.
Example
This example sets the SheetCount property.
//Set SheetCount to change number of sheets
gcSpreadSheet1.SheetCount = 3;
'Set SheetCount to change the number of sheets
 GcSpreadSheet1.SheetCount = 3
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members