Spread Windows Forms 12.0 Product Documentation
EnhancedRowHeaderRenderer Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > EnhancedRowHeaderRenderer Class > EnhancedRowHeaderRenderer Constructor : EnhancedRowHeaderRenderer Constructor()
Creates a new painter of the row header cells with default values.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New EnhancedRowHeaderRenderer()
public EnhancedRowHeaderRenderer()
Example
This example creates an enhanced row header renderer.
FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer er = new FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer();
er.ActiveBackgroundColor = Color.Azure;
er.SelectedActiveBackgroundColor = Color.Bisque;
er.SelectedBackgroundColor = Color.Crimson;
er.SelectedGridLineColor = Color.Red;
er.NormalBackgroundColor = Color.Beige;
er.NormalGridLineColor = Color.DarkOrange;
fpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer = er;
Dim er As New FarPoint.Win.Spread.CellType.EnhancedRowHeaderRenderer
er.ActiveBackgroundColor = Color.Azure
er.SelectedActiveBackgroundColor = Color.Bisque
er.SelectedBackgroundColor = Color.Crimson
er.SelectedGridLineColor = Color.Red
er.NormalBackgroundColor = Color.Beige
er.NormalGridLineColor = Color.DarkOrange
FpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer = er
See Also

Reference

EnhancedRowHeaderRenderer Class
EnhancedRowHeaderRenderer Members
Overload List