MESCIUS SPREAD for Windows Forms 15.0J
SetAppearance メソッド
使用例 

外観設定の取得元のAppearanceオブジェクト
Appearanceオブジェクトの外観設定をこのオブジェクトに 設定します。
構文
'宣言
 
Public Sub SetAppearance( _
   ByVal appearance As Appearance _
) 
public void SetAppearance( 
   Appearance appearance
)

パラメータ

appearance
外観設定の取得元のAppearanceオブジェクト
使用例
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
FarPoint.Win.Spread.Appearance appr = new FarPoint.Win.Spread.Appearance;
appr.BackColor = Color.Yellow;
si.SettAppearance(appr);
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si;
Dim si As New FarPoint.Win.Spread.StyleInfo
Dim appr As New FarPoint.Win.Spread.Appearance
appr.BackColor = Color.Yellow
si.SetAppearance(appr)
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle = si
参照

StyleInfo クラス
StyleInfo メンバ

 

 


© MESCIUS inc. All rights reserved.