Spread Windows Forms 6.0 Product Documentation
ShadowColor Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GridLine Class : ShadowColor Property


Glossary Item Box

Gets the shadow color for the grid lines.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ShadowColor As Color
Visual Basic (Usage)Copy Code
Dim instance As GridLine
Dim value As Color
 
value = instance.ShadowColor
C# 
public Color ShadowColor {get;}

Property Value

Color object containing the shadow color of the grid line

Example

This example illustrates the use of this member by returning the shadow color for the horizontal grid line.
C#Copy Code
FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine(GridLineType.Raised, Color.Blue, Color.DarkBlue, Color.LightBlue, 2);
fpSpread1.ActiveSheet.HorizontalGridLine = gl;
textBox1.Text = fpSpread1.ActiveSheet.HorizontalGridLine.ShadowColor.ToString();
Visual BasicCopy Code
Dim gl As New FarPoint.Win.Spread.GridLine(GridLineType.Raised, Color.Blue, Color.DarkBlue, Color.LightBlue, 2)
FpSpread1.ActiveSheet.HorizontalGridLine = gl
TextBox1.Text = FpSpread1.ActiveSheet.HorizontalGridLine.ShadowColor.ToString()

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.