FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ButtonCellType クラス : UseVisualStyleBackColor プロパティ |
'Declaration Public Property UseVisualStyleBackColor As Boolean
'使用法 Dim instance As ButtonCellType Dim value As Boolean instance.UseVisualStyleBackColor = value value = instance.UseVisualStyleBackColor
public bool UseVisualStyleBackColor {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 = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal; btn.UseVisualStyleBackColor = false; 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 = System.Drawing2D.LinearGradientMode.ForwardDiagonal btn.UseVisualStyleBackColor = False FpSpread1.ActiveSheet.Cells(0, 0).CellType = btn