Spread for ASP.NET 11 Product Documentation
StyleInfo Constructor()
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > StyleInfo Class > StyleInfo Constructor : StyleInfo Constructor()
Creates a set of cell-level style settings (StyleInfo object).
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New StyleInfo()
public StyleInfo()
Example
This example creates a new style info object.
FarPoint.Web.Spread.StyleInfo si = new FarPoint.Web.Spread.StyleInfo();
si.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red);
FpSpread1.ActiveSheetView.DefaultStyle = si; 
Dim si As New FarPoint.Web.Spread.StyleInfo
si.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Red)
FpSpread1.ActiveSheetView.DefaultStyle = si 
See Also

Reference

StyleInfo Class
StyleInfo Members
Overload List