次のサンプルコードは、列ヘッダと行ヘッダで使用するグリッド線を指定します。
FarPoint.Win.Spread.GridLine gdln = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None);
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3;
fpSpread1.ActiveSheet.RowHeader.ColumnCount = 3;
fpSpread1.ActiveSheet.ColumnHeader.HorizontalGridLine = gdln;
fpSpread1.ActiveSheet.RowHeader.HorizontalGridLine = gdln;
fpSpread1.ActiveSheet.ColumnHeader.VerticalGridLine = gdln;
fpSpread1.ActiveSheet.RowHeader.VerticalGridLine = gdln;
Dim gdln As New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.None)
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3
fpSpread1.ActiveSheet.RowHeader.ColumnCount = 3
fpSpread1.ActiveSheet.ColumnHeader.HorizontalGridLine = gdln
fpSpread1.ActiveSheet.RowHeader.HorizontalGridLine = gdln
fpSpread1.ActiveSheet.ColumnHeader.VerticalGridLine = gdln
fpSpread1.ActiveSheet.RowHeader.VerticalGridLine = gdln