Spread Windows Forms 10.0 Product Documentation
NormalBackgroundColor Property (EnhancedRowHeaderRenderer)
Example 


Gets or sets the color of the normal background.
Syntax
'Declaration
 
Public Property NormalBackgroundColor As Color
'Usage
 
Dim instance As EnhancedRowHeaderRenderer
Dim value As Color
 
instance.NormalBackgroundColor = value
 
value = instance.NormalBackgroundColor
public Color NormalBackgroundColor {get; set;}

Property Value

Color of the background of the cell
Example
This example sets the color scheme for the renderer of the row header.
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

 

 


Copyright © GrapeCity, inc. All rights reserved.