PowerTools SPREAD for ASP.NET 8.0J
ButtonShadowColor プロパティ

Spreadコンポーネントのコマンドバーのボタンの下および右境界線の色を取得または設定します。
構文
'Declaration
 
Public Property ButtonShadowColor As Color
public Color ButtonShadowColor {get; set;}

プロパティ値

コマンドバーのボタンの影の色を含むColorオブジェクト
解説

ButtonFaceColorとButtonHighlightColor の各プロパティを使用し、ボタン面の色とハイライト色をそれぞれ指定します。

この例では、コマンドバーのいくつかのプロパティの設定を示します。
FpSpread1.CommandBar.Background = null;
FpSpread1.CommandBar.BackColor = Color.Yellow; 
FpSpread1.CommandBar.ButtonFaceColor = Color.YellowGreen; 
FpSpread1.CommandBar.ButtonHighlightColor = Color.Coral; 
FpSpread1.CommandBar.ButtonShadowColor = Color.Bisque; 
FpSpread1.CommandBar.ButtonTextColor = Color.RoyalBlue; 
FpSpread1.CommandBar.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton; 
FpSpread1.CommandBar.Font.Bold = true; 
FpSpread1.CommandBar.Font.Name = "Comic Sans MS"; 
FpSpread1.CommandBar.Visible = true; 
FpSpread1.CommandBar.Background = Nothing
FpSpread1.CommandBar.BackColor = Color.Yellow
FpSpread1.CommandBar.ButtonFaceColor = Color.YellowGreen
FpSpread1.CommandBar.ButtonHighlightColor = Color.Coral
FpSpread1.CommandBar.ButtonShadowColor = Color.Bisque
FpSpread1.CommandBar.ButtonTextColor = Color.RoyalBlue
FpSpread1.CommandBar.ButtonType = FarPoint.Web.Spread.ButtonType.PushButton
FpSpread1.CommandBar.Font.Bold = True
FpSpread1.CommandBar.Font.Name = "Comic Sans MS"
FpSpread1.CommandBar.Visible = True 
参照

CommandBarInfo クラス
CommandBarInfo メンバ
ButtonFaceColor プロパティ
ButtonHighlightColor プロパティ

 

 


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