Spread Windows Forms 6.0 Product Documentation
GridLineType Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace : GridLineType Enumeration


Glossary Item Box

Specifies the type of grid lines.

Syntax

Visual Basic (Declaration) 
Public Enum GridLineType 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As GridLineType
C# 
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

C#Copy Code
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);
Visual BasicCopy Code
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 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.