Spread Windows Forms 11.0 Product Documentation
ColumnHeaderVerticalGridLine Property
Example 


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

Property Value

GridLine object containing the grid lines in the column header
Exceptions
ExceptionDescription
No value is specified (specified value is null)
Remarks

This property is available at run time only.

This property is equivalent to the ColumnHeader.VerticalGridLine property.

Set the ColumnHeaderHorizontalGridLine property to customize the display of the horizontal grid line in the column headers.

Example
This example sets the horizontal and vertical grid lines in the headers to a different color and type.
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);
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)
See Also

Reference

SheetView Class
SheetView Members
ColumnHeaderHorizontalGridLine Property
VerticalGridLine Property (ColumnHeader)

User-Task Documentation

Customizing the Header Grid Lines