FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > EnhancedCornerRenderer Class > EnhancedCornerRenderer Constructor : EnhancedCornerRenderer Constructor(Color,Color,Color) |
'Declaration Public Function New( _ ByVal activeBackgroundColor As Color, _ ByVal gridLineColor As Color, _ ByVal normalBackgroundColor As Color _ )
'Usage Dim activeBackgroundColor As Color Dim gridLineColor As Color Dim normalBackgroundColor As Color Dim instance As New EnhancedCornerRenderer(activeBackgroundColor, gridLineColor, normalBackgroundColor)
public EnhancedCornerRenderer( Color activeBackgroundColor, Color gridLineColor, Color normalBackgroundColor )
FarPoint.Win.Spread.CellType.EnhancedCornerRenderer rend = new FarPoint.Win.Spread.CellType.EnhancedCornerRenderer(Color.Bisque, Color.Tomato, Color.Maroon); fpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = rend; fpSpread1.ActiveSheet.AllowTableCorner = true;
Dim rend As New FarPoint.Win.Spread.CellType.EnhancedCornerRenderer(Color.Bisque, Color.Tomato, Color.Maroon) FpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = rend FpSpread1.ActiveSheet.AllowTableCorner = True
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