Spread Windows Forms 11.0 Product Documentation
GridLineType Enumeration
Example Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : GridLineType Enumeration
Specifies the type of grid lines.
Syntax
'Declaration
 
Public Enum GridLineType 
   Inherits System.Enum
'Usage
 
Dim instance As GridLineType
public enum GridLineType : System.Enum 
Members
MemberDescription
FlatDisplays grid lines on the sheet as flat, no contour
LoweredDisplays grid lines on the sheet to appear as lowered contour
NoneDisplays no grid lines on the sheet
RaisedDisplays grid lines on the sheet to appear as raised contour
Example
fpSpread1.ActiveSheet.ColumnHeaderRowCount = 3;
fpSpread1.ActiveSheet.ColumnHeaderHorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat,
Color.Blue);
fpSpread1.ActiveSheet.ColumnHeaderVerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat,
Color.Blue);
FpSpread1.ActiveSheet.ColumnHeaderRowCount = 3
FpSpread1.ActiveSheet.ColumnHeaderHorizontalGridLine = New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat,
Color.Blue)
FpSpread1.ActiveSheet.ColumnHeaderVerticalGridLine = New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat,
Color.Blue)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.GridLineType

See Also

Reference

FarPoint.Win.Spread Namespace
Type Property (GrildLine Class)

User-Task Documentation

Displaying Grid Lines on the Sheet