MESCIUS SPREAD for Windows Forms 15.0J
FlatFocusIndicatorRenderer コンストラクタ(Int32,Color,Color)
使用例 

幅のサイズ。
色。
背景色。
FlatFocusIndicatorRendererインスタンスを作成します。
構文
'宣言
 
Public Function New( _
   ByVal thickness As Integer, _
   ByVal color As Color, _
   ByVal backColor As Color _
)
public FlatFocusIndicatorRenderer( 
   int thickness,
   Color color,
   Color backColor
)

パラメータ

thickness
幅のサイズ。
color
色。
backColor
背景色。
使用例
次のサンプルコードは、フォーカスレンダラーを作成します。
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
fpSpread1.Sheets.Count = 3;
FarPoint.Win.Spread.SpreadSkin skin = new FarPoint.Win.Spread.SpreadSkin();
FarPoint.Win.Spread.FlatFocusIndicatorRenderer srender = new FarPoint.Win.Spread.FlatFocusIndicatorRenderer(2, Color.Coral, Color.Green);
skin.FocusRenderer = srender;
skin.Apply(fpSpread1);
Dim si As New FarPoint.Win.Spread.StyleInfo
FpSpread1.Sheets.Count = 3
Dim skin As New FarPoint.Win.Spread.SpreadSkin()
Dim srender As New FarPoint.Win.Spread.FlatFocusIndicatorRenderer(2, Color.Coral, Color.Green)
skin.FocusRenderer = srender
skin.Apply(fpSpread1)
参照

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

 

 


© MESCIUS inc. All rights reserved.