FarPoint.Web.Spread 名前空間 > SheetView クラス : SelectionBackColor プロパティ |
'Declaration
Public Property SelectionBackColor As Color
public Color SelectionBackColor {get; set;}
このプロパティはクライアント側スクリプトでは使用されません。
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView; FarPoint.Web.Spread.Borderbord = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Tomato, 3); bool bl; sv.SelectionModel.SetSelection(0, 0, 3, 3); bl = sv.SelectionModel.IsAnyCellInRowSelected(0); sv.SelectionBackColor = Color.Yellow; sv.SelectionForeColor = Color.Red; sv.SelectionBorder = bord; sv.SetValue(0, 0, "Test"); ListBox1.Items.Add(Convert.ToString(bl));
Dim sv As FarPoint.Web.Spread.SheetView Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Tomato, 3) Dim bl As Boolean sv = FpSpread1.ActiveSheetView sv.SelectionModel.SetSelection(0, 0, 3, 3) bl = sv.SelectionModel.IsAnyCellInRowSelected(0) sv.SelectionBackColor = Color.Yellow sv.SelectionForeColor = Color.Red sv.SelectionBorder = bord sv.SetValue(0, 0, "Test") ListBox1.Items.Add(bl)