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


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
Requirements

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

See Also

Reference

EnhancedCornerRenderer Class
EnhancedCornerRenderer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.