Spread for ASP.NET 7.0 Product Documentation
DefaultSheetStyleModel Constructor(Int32,Int32,ISheetStyleModel,NamedStyleCollection)
See Also  Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetStyleModel Class > DefaultSheetStyleModel Constructor : DefaultSheetStyleModel Constructor(Int32,Int32,ISheetStyleModel,NamedStyleCollection)


rowCount
Number of rows in the model
columnCount
Number of columns in the model
parent
Parent style model
namedStyles
NamedStyleCollection collection for the style model

Glossary Item Box

Creates a style model (DefaultSheetStyle model object) with the specified parent style model, named styles collection, and number of rows and columns.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal parent As ISheetStyleModel, _
   ByVal namedStyles As NamedStyleCollection _
)
Visual Basic (Usage)Copy Code
Dim rowCount As Integer
Dim columnCount As Integer
Dim parent As ISheetStyleModel
Dim namedStyles As NamedStyleCollection
 
Dim instance As New DefaultSheetStyleModel(rowCount, columnCount, parent, namedStyles)
C# 
public DefaultSheetStyleModel( 
   int rowCount,
   int columnCount,
   ISheetStyleModel parent,
   NamedStyleCollection namedStyles
)

Parameters

rowCount
Number of rows in the model
columnCount
Number of columns in the model
parent
Parent style model
namedStyles
NamedStyleCollection collection for the style model

Remarks

Initializes an instance of the DefaultSheetStyleModel class, and specifies the number of rows and columns in the model, the parent style model, and the named styles collection.

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.