GrapeCity SPREAD for WPF 2.0J
ActiveCellBackgroundUnfocused プロパティ (GcSpreadGrid)

コントロールにフォーカスがないときのアクティブセルの背景ブラシを取得または設定します。
構文
'Declaration
 
Public Property ActiveCellBackgroundUnfocused As Brush
public Brush ActiveCellBackgroundUnfocused {get; set;}

プロパティ値

コントロールにフォーカスがないときのアクティブセルの背景色を示すブラシ。
次のサンプルコードは、アクティブセルの外観を設定します。
<sg:GcSpreadGrid ActiveCellBackground="Yellow" ActiveCellForeground="Blue" ActiveCellBackgroundUnfocused="DarkGray" ActiveCellForegroundUnfocused="White" />
gcSpreadGrid1.ActiveCellBackground = Brushes.Yellow;
gcSpreadGrid1.ActiveCellForeground = Brushes.Blue;
gcSpreadGrid1.ActiveCellBackgroundUnfocused = Brushes.DarkGray;
gcSpreadGrid1.ActiveCellForegroundUnfocused = Brushes.White;
GcSpreadGrid1.ActiveCellBackground = Brushes.Yellow
GcSpreadGrid1.ActiveCellForeground = Brushes.Blue
GcSpreadGrid1.ActiveCellBackgroundUnfocused = Brushes.DarkGray
GcSpreadGrid1.ActiveCellForegroundUnfocused = Brushes.White
参照

GcSpreadGrid クラス
GcSpreadGrid メンバ

 

 


Copyright © 2012 GrapeCity inc. All rights reserved.