Spread Windows Forms 10.0 Product Documentation
ActiveBottomColor Property
Example 


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

GradientHeaderRenderer Class
GradientHeaderRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.