PowerTools SPREAD for ASP.NET 8.0J
PreviewRowInfo コンストラクタ

プレビュー行情報のセットを作成します。
新しいプレビュー行情報を作成します。
構文
'Declaration
 
Public Function New()
public PreviewRowInfo()
次のサンプルコードは、プレビュー行情報のセットを作成し、それをシートのプレビュー行スタイルに割り当てます。
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
参照

PreviewRowInfo クラス
PreviewRowInfo メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.