Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.