Spread Windows Forms 9.0 Product Documentation
EnhancedRowHeaderRenderer Constructor()
Example 


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
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

EnhancedRowHeaderRenderer Class
EnhancedRowHeaderRenderer Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.