FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 : SelectionStyles 列挙体 |
'Declaration Public Enum SelectionStyles Inherits System.Enum
'使用法 Dim instance As SelectionStyles
public enum SelectionStyles : System.Enum
メンバ | 説明 |
---|---|
Both | [3]選択範囲の色設定とレンダラの設定の両方を使用します。 |
None | [0]選択中のセルの表示方法を変更しません。 |
SelectionColors | [1]選択範囲用に設定されたテキスト色と背景色を使用します。 |
SelectionRenderer | [2]セルが選択されたときのレンダラのデフォルト設定を使用します。 |
fpSpread1.ActiveSheet.SelectionStyle = FarPoint.Win.Spread.SelectionStyles.SelectionColors; fpSpread1.ActiveSheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Range; fpSpread1.ActiveSheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Cell; fpSpread1.ActiveSheet.AddSelection(0, 0, 2, 2); fpSpread1.ActiveSheet.AddSelection(3, 0, 2, 2); fpSpread1.ActiveSheet.SelectionBackColor = Color.Red; fpSpread1.ActiveSheet.SelectionForeColor = Color.DarkBlue;
FpSpread1.ActiveSheet.SelectionStyle = FarPoint.Win.Spread.SelectionStyles.SelectionColors FpSpread1.ActiveSheet.SelectionPolicy = FarPoint.Win.Spread.Model.SelectionPolicy.Range FpSpread1.ActiveSheet.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Cell FpSpread1.ActiveSheet.AddSelection(0, 0, 2, 2) FpSpread1.ActiveSheet.AddSelection(3, 0, 2, 2) FpSpread1.ActiveSheet.SelectionBackColor = Color.Red FpSpread1.ActiveSheet.SelectionForeColor = Color.DarkBlue
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.SelectionStyles