Spread Silverlight Documentation
Worksheet Constructor(StyleInfoCollection)
Example 


The named style.
Creates a new sheet with the specified named style.
Syntax
'Declaration
 
Public Function New( _
   ByVal namedStyles As StyleInfoCollection _
)
'Usage
 
Dim namedStyles As StyleInfoCollection
 
Dim instance As New Worksheet(namedStyles)
public Worksheet( 
   StyleInfoCollection namedStyles
)

Parameters

namedStyles
The named style.
Example
This example adds a worksheet.
//Add some sheets
gcSpreadSheet1.Sheets.Add(new Worksheet());
gcSpreadSheet1.Sheets.Add(new Worksheet("customSheet"));
gcSpreadSheet1.Sheets.Add(new Worksheet(new StyleInfoCollection()));
gcSpreadSheet1.Sheets.Add(new Worksheet(10, 10));
gcSpreadSheet1.Sheets.Add(new Worksheet(10, 10, 2, 2));
'Add some sheets
GcSpreadSheet1.Sheets.Add(New Worksheet())
GcSpreadSheet1.Sheets.Add(New Worksheet("customSheet"))
GcSpreadSheet1.Sheets.Add(New Worksheet(New StyleInfoCollection()))
GcSpreadSheet1.Sheets.Add(New Worksheet(10, 10))
GcSpreadSheet1.Sheets.Add(New Worksheet(10, 10, 2, 2))
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
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.