Spread Windows Forms 12.0 Product Documentation
ActiveBottomColor Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > GradientHeaderRenderer Class : ActiveBottomColor Property
Gets or sets the color of the bottom of the gradient when the header cell is active.
Syntax
'Declaration
 
Public Property ActiveBottomColor As Color
'Usage
 
Dim instance As GradientHeaderRenderer
Dim value As Color
 
instance.ActiveBottomColor = value
 
value = instance.ActiveBottomColor
public Color ActiveBottomColor {get; set;}

Property Value

Color object containing the color for the bottom of the gradient for an active cell
Example
FarPoint.Win.Spread.CellType.GradientHeaderRenderer g = new FarPoint.Win.Spread.CellType.GradientHeaderRenderer();
g.ActiveTopColor = Color.Yellow;
g.ActiveBottomColor = Color.Orange;

fpSpread1.ActiveSheet.ColumnHeader.Cells[0, 0].Renderer = g;
Dim g As New FarPoint.Win.Spread.CellType.GradientHeaderRenderer
g.ActiveTopColor = Color.Yellow
g.ActiveBottomColor = Color.Orange

FpSpread1.ActiveSheet.ColumnHeader.Cells(0, 0).Renderer = g
See Also

Reference

GradientHeaderRenderer Class
GradientHeaderRenderer Members