Spread Windows Forms 12.0 Product Documentation
Type Property (GridLine)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > GridLine Class : Type Property
Gets whether to display the grid lines and the type of grid lines to display.
Syntax
'Declaration
 
Public ReadOnly Property Type As GridLineType
'Usage
 
Dim instance As GridLine
Dim value As GridLineType
 
value = instance.Type
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.
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();
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()
See Also

Reference

GridLine Class
GridLine Members
GridLineType Enum

User-Task Documentation

Displaying Grid Lines