PowerTools SPREAD for Windows Forms 8.0J
TabStripBackgroundColor プロパティ (EnhancedInterfaceRenderer)


タブストリップの背景の色を取得または設定します。
構文
'Declaration
 
Public Property TabStripBackgroundColor As Color
'使用法
 
Dim instance As EnhancedInterfaceRenderer
Dim value As Color
 
instance.TabStripBackgroundColor = value
 
value = instance.TabStripBackgroundColor
public Color TabStripBackgroundColor {get; set;}

プロパティ値

タブストリップの背景の色。
次のサンプルコードは、インタフェースレンダラーの新しいスキームを作成します。
FarPoint.Win.Spread.EnhancedInterfaceRenderer eir = new FarPoint.Win.Spread.EnhancedInterfaceRenderer();
eir.ScrollBoxBackgroundColor = Color.Beige;
eir.SheetTabBorderColor = Color.BurlyWood;
eir.SheetTabLowerActiveColor = Color.BlanchedAlmond;
eir.SheetTabLowerNormalColor = Color.Brown;
eir.SheetTabUpperActiveColor = Color.Chocolate;
eir.SheetTabUpperNormalColor = Color.DarkGoldenrod;
eir.SplitBarBackgroundColor = Color.DarkKhaki;
eir.SplitBarDarkColor = Color.DarkOrchid;
eir.SplitBarLightColor = Color.DarkSalmon;
eir.SplitBoxBackgroundColor = Color.Bisque;
eir.SplitBoxBorderColor = Color.Cornsilk;
eir.TabStripBackgroundColor = Color.Beige;
eir.TabStripButtonLowerActiveColor = Color.BurlyWood;
eir.TabStripButtonLowerNormalColor = Color.BlanchedAlmond;
eir.TabStripButtonLowerPressedColor = Color.Brown;
eir.TabStripButtonUpperActiveColor = Color.DarkGoldenrod;
eir.TabStripButtonUpperNormalColor = Color.DarkKhaki;
eir.TabStripButtonUpperPressedColor = Color.SaddleBrown;
fpSpread1.InterfaceRenderer = eir;
fpSpread1.Sheets.Count = 3;
Dim eir As New FarPoint.Win.Spread.EnhancedInterfaceRenderer
eir.ScrollBoxBackgroundColor = Color.Beige
eir.SheetTabBorderColor = Color.BurlyWood
eir.SheetTabLowerActiveColor = Color.BlanchedAlmond
eir.SheetTabLowerNormalColor = Color.Brown
eir.SheetTabUpperActiveColor = Color.Chocolate
eir.SheetTabUpperNormalColor = Color.DarkGoldenrod
eir.SplitBarBackgroundColor = Color.DarkKhaki
eir.SplitBarDarkColor = Color.DarkOrchid
eir.SplitBarLightColor = Color.DarkSalmon
eir.SplitBoxBackgroundColor = Color.Bisque
eir.SplitBoxBorderColor = Color.Cornsilk
eir.TabStripBackgroundColor = Color.Beige
eir.TabStripButtonLowerActiveColor = Color.BurlyWood
eir.TabStripButtonLowerNormalColor = Color.BlanchedAlmond
eir.TabStripButtonLowerPressedColor = Color.Brown
eir.TabStripButtonUpperActiveColor = Color.DarkGoldenrod
eir.TabStripButtonUpperNormalColor = Color.DarkKhaki
eir.TabStripButtonUpperPressedColor = Color.SaddleBrown
FpSpread1.InterfaceRenderer = eir
FpSpread1.Sheets.Count = 3
参照

EnhancedInterfaceRenderer クラス
EnhancedInterfaceRenderer メンバ

 

 


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