Spread Windows Forms 8.0 Product Documentation
GridLineType Enumeration
Example Example 


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

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

Reference

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

User-Task Documentation

Displaying Grid Lines on the Sheet

 

 


Copyright © GrapeCity, inc. All rights reserved.