Gets or sets the color of the grid lines in the sheet.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property GridLineColor As Color |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SheetView
Dim value As Color
instance.GridLineColor = value
value = instance.GridLineColor |
| C# | |
|---|
public Color GridLineColor {get; set;} |
Property Value
Color object containing the color of the grid line
Remarks
Example
This example changes the color and configuration of the gridlines in the SheetView object.
| C# | Copy Code |
|---|
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.GridLines=GridLines.Horizontal;
sv.GridLineColor=Color.Red; |
| Visual Basic | Copy Code |
|---|
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
sv.GridLines=GridLines.Horizontal
sv.GridLineColor=Color.Red |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also