Spread Windows Forms 10.0 Product Documentation
SheetCornerHorizontalGridLine Property
Example 


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
System.ArgumentNullException 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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Customizing the Sheet Corner

 

 


Copyright © GrapeCity, inc. All rights reserved.