PowerTools SPREAD for ASP.NET 8.0J
StyleInfo コンストラクタ(StyleInfo)

スタイル設定のコピー元のStyleInfoオブジェクト
指定したスタイル設定のセットに等しいセルレベルのスタイル設定のセット (StyleInfoオブジェクト)を作成します。
構文
'Declaration
 
Public Function New( _
   ByVal style As StyleInfo _
)
public StyleInfo( 
   StyleInfo style
)

パラメータ

style
スタイル設定のコピー元のStyleInfoオブジェクト
この例では、新しいスタイル情報オブジェクトを作成します。
FarPoint.Web.Spread.StyleInfo copy = new FarPoint.Web.Spread.StyleInfo("HeaderDefault");
copy.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.DarkBlue);
FarPoint.Web.Spread.StyleInfo si = new FarPoint.Web.Spread.StyleInfo(copy);
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle = si; 
Dim copy As New FarPoint.Web.Spread.StyleInfo("HeaderDefault")
copy.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.DarkBlue)
Dim si As New FarPoint.Web.Spread.StyleInfo(copy)
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle = si 
参照

StyleInfo クラス
StyleInfo メンバ
オーバーロード一覧

 

 


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