Spread for ASP.NET 8.0 Product Documentation
SheetView Constructor(NamedStyleCollection)
Example 


NamedStyleCollection object to use
Creates a sheet (SheetView object) with the specified style collection.
Syntax
'Declaration
 
Public Function New( _
   ByVal namedStyles As NamedStyleCollection _
)
'Usage
 
Dim namedStyles As NamedStyleCollection
 
Dim instance As New SheetView(namedStyles)
public SheetView( 
   NamedStyleCollection namedStyles
)

Parameters

namedStyles
NamedStyleCollection object to use
Example
FarPoint.Web.Spread.NamedStyleCollection nsc = new FarPoint.Web.Spread.NamedStyleCollection();
FarPoint.Web.Spread.NamedStyle ns = new FarPoint.Web.Spread.NamedStyle("StyleData", "DataAreaDefault");
ns.BackColor = Color.Yellow;
nsc.Add(ns);
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView(nsc);
Dim nsc As New FarPoint.Web.Spread.NamedStyleCollection
Dim ns As New FarPoint.Web.Spread.NamedStyle("StyleData", "DataAreaDefault")
ns.BackColor = Color.Yellow
nsc.Add(ns)
Dim sv As New FarPoint.Web.Spread.SheetView(nsc)
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

Reference

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.