Spread Windows Forms 12.0 Product Documentation
SheetCornerHorizontalGridLine Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : SheetCornerHorizontalGridLine Property
Gets or sets the horizontal grid line for the sheet corner.
Syntax
'Declaration
 
Public Property SheetCornerHorizontalGridLine As GridLine
'Usage
 
Dim instance As SheetView
Dim value As GridLine
 
instance.SheetCornerHorizontalGridLine = value
 
value = instance.SheetCornerHorizontalGridLine
public GridLine SheetCornerHorizontalGridLine {get; set;}

Property Value

GridLine object containing the grid lines in the sheet corner
Exceptions
ExceptionDescription
No value is specified (specified value is null)
Example
This example sets grid lines for the sheet corner.
FarPoint.Win.Spread.GridLine gl = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised, Color.LightBlue,
Color.Blue, Color.DarkBlue);
fpSpread1.ActiveSheet.SheetCornerHorizontalGridLine = gl;
fpSpread1.ActiveSheet.SheetCornerVerticalGridLine = gl;
Dim gl As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised, Color.LightBlue, Color.Blue, Color.DarkBlue)
FpSpread1.ActiveSheet.SheetCornerHorizontalGridLine = gl
FpSpread1.ActiveSheet.SheetCornerVerticalGridLine = gl
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing the Sheet Corner