FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ButtonCellType Class : UseVisualStyleBackColor Property |
'Declaration Public Property UseVisualStyleBackColor As Boolean
'Usage 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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10