Spread for ASP.NET 11 Product Documentation
DefaultSheetStyleModel Constructor(Int32,Int32,ISheetStyleModel,NamedStyleCollection)


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetStyleModel Class > DefaultSheetStyleModel Constructor : DefaultSheetStyleModel Constructor(Int32,Int32,ISheetStyleModel,NamedStyleCollection)
Number of rows in the model
Number of columns in the model
Parent style model
NamedStyleCollection collection for the style model
Creates a style model (DefaultSheetStyle model object) with the specified parent style model, named styles collection, and number of rows and columns.
Syntax
'Declaration
 
Public Function New( _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer, _
   ByVal parent As ISheetStyleModel, _
   ByVal namedStyles As NamedStyleCollection _
)
'Usage
 
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)
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.
See Also

Reference

DefaultSheetStyleModel Class
DefaultSheetStyleModel Members
Overload List