Spread Windows Forms 10.0 Product Documentation
ActiveTopColor Property
Example 


Gets or sets the color of the top of the gradient when the header cell is active.
Syntax
'Declaration
 
Public Property ActiveTopColor As Color
'Usage
 
Dim instance As GradientHeaderRenderer
Dim value As Color
 
instance.ActiveTopColor = value
 
value = instance.ActiveTopColor
public Color ActiveTopColor {get; set;}

Property Value

Color object containing the color for the top 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.