Spread for ASP.NET 8.0 Product Documentation
PreviewRowInfo Constructor
Example 


Creates a set of preview row information.
Creates new preview row information.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New PreviewRowInfo()
public PreviewRowInfo()
Example
This example creates a set of preview row information and assigns it to the preview row style of the sheet.
FarPoint.Web.Spread.PreviewRowInfo pri = new FarPoint.Web.Spread.PreviewRowInfo();
pri.BackColor = Drawing.Color.WhiteSmoke;
pri.Border = new FarPoint.Web.Spread.Border(BorderStyle.Double, Drawing.Color.Blue);
pri.CssClass = null;
pri.Font.Bold = true;
pri.ForeColor = Drawing.Color.Red;
pri.HorizontalAlign = HorizontalAlign.Center;
pri.Margin = new FarPoint.Web.Spread.Inset(2, 2, 2, 2);
pri.TabStop = false;
pri.VerticalAlign = VerticalAlign.Middle;
FpSpread1.ActiveSheetView.PreviewRowStyle = pri;
Dim pri As New FarPoint.Web.Spread.PreviewRowInfo
pri.BackColor = Drawing.Color.WhiteSmoke
pri.Border = New FarPoint.Web.Spread.Border(BorderStyle.Double, Drawing.Color.Blue)
pri.CssClass = Nothing
pri.Font.Bold = True
pri.ForeColor = Drawing.Color.Red
pri.HorizontalAlign = HorizontalAlign.Center
pri.Margin = New FarPoint.Web.Spread.Inset(2, 2, 2, 2)
pri.TabStop = False
pri.VerticalAlign = VerticalAlign.Middle
FpSpread1.ActiveSheetView.PreviewRowStyle = pri
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

PreviewRowInfo Class
PreviewRowInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.