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