Spread Windows Forms 12.0 Product Documentation
EnhancedCornerRenderer Constructor(Color,Color,Color)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > EnhancedCornerRenderer Class > EnhancedCornerRenderer Constructor : EnhancedCornerRenderer Constructor(Color,Color,Color)
Color of the active background
Color of the grid line
Color of the normal background
Creates a new painter of the corner cells with a more up to date look.
Syntax
'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
)

Parameters

activeBackgroundColor
Color of the active background
gridLineColor
Color of the grid line
normalBackgroundColor
Color of the normal background
Example
This example customizes the sheet corner.
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
See Also

Reference

EnhancedCornerRenderer Class
EnhancedCornerRenderer Members
Overload List