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


Glossary Item Box

Gets whether to display the grid lines and the type of grid lines to display.

Syntax

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

Property Value

GridLineType setting that specifies the line type for the grid line

Example

This example illustrates the use of this member by returning the type of 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.Type.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.Type.ToString()

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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