Spread for ASP.NET 10 Product Documentation
GridLineColor Property (SheetView)
Example 


Gets or sets the color of the grid lines in the sheet.
Syntax
'Declaration
 
Public Property GridLineColor As Color
'Usage
 
Dim instance As SheetView
Dim value As Color
 
instance.GridLineColor = value
 
value = instance.GridLineColor
public Color GridLineColor {get; set;}

Property Value

Color object containing the color of the grid line
Remarks

To set whether the sheet displays horizontal grid lines, vertical grid lines, or both, use the GridLines property.

This property does not have an effect if the GridLines property is set to None.

Example
This example changes the color and configuration of the gridlines in the SheetView object.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
sv.GridLines=GridLines.Horizontal;
sv.GridLineColor=Color.Red;
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
GridLines Property

User-Task Documentation

Displaying Grid Lines on the Sheet

 

 


Copyright © GrapeCity, inc. All rights reserved.