FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > ColumnHeader クラス : HorizontalGridLine プロパティ |
'Declaration
Public Property HorizontalGridLine As GridLine
public GridLine HorizontalGridLine {get; set;}
列ヘッダの垂直グリッド線の表示をカスタマイズするには、VerticalGridLine プロパティを設定します。
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