Spread ASP.NET 6.0 Product Documentation
DefaultSheetStyleModel Constructor(Int32,Int32,ISheetStyleModel,NamedStyleCollection)
See Also  Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.