FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ButtonCellType クラス : ButtonColor2 プロパティ |
'Declaration Public Property ButtonColor2 As Color
'使用法 Dim instance As ButtonCellType Dim value As Color instance.ButtonColor2 = value value = instance.ButtonColor2
public Color ButtonColor2 {get; set;}
FarPoint.Win.Spread.CellType.ButtonCellType btn = new
FarPoint.Win.Spread.CellType.ButtonCellType();
btn.BackgroundStyle = FarPoint.Win.BackStyle.Gradient;
btn.ButtonColor = Color.Yellow;
btn.ButtonColor2 = Color.Orange;
btn.GradientMode = Drawing2D.LinearGradientMode.ForwardDiagonal;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = btn;
Dim btn As New FarPoint.Win.Spread.CellType.ButtonCellType btn.BackgroundStyle = FarPoint.Win.BackStyle.Gradient btn.ButtonColor = Color.Yellow btn.ButtonColor2 = Color.Orange btn.GradientMode = Drawing2D.LinearGradientMode.ForwardDiagonal FpSpread1.ActiveSheet.Cells(0, 0).CellType = btn