private void Form1_Load(object sender, System.EventArgs e)
{
//行列ヘッダのレンダラを設定します
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer();
fpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer = new FarPoint.Win.Spread.CellType.RowHeaderRenderer();
//VisualスタイルをOffにします
fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
//ヘッダの行列数を設定します
fpSpread1.ActiveSheet.RowHeaderColumnCount = 2;
fpSpread1.ActiveSheet.ColumnHeaderRowCount = 2;
//列ヘッダのグリッド線を「凸状」に設定します
fpSpread1.ActiveSheet.ColumnHeaderHorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised);
fpSpread1.ActiveSheet.ColumnHeaderVerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised);
//行ヘッダのグリッド線を「フラット」に設定します
fpSpread1.ActiveSheet.RowHeaderHorizontalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat);
fpSpread1.ActiveSheet.RowHeaderVerticalGridLine = new FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat);
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
'行列ヘッダのレンダラを設定します
FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = New FarPoint.Win.Spread.CellType.ColumnHeaderRenderer
FpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer = New FarPoint.Win.Spread.CellType.RowHeaderRenderer
'VisualスタイルをOffにします
FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off
'ヘッダの行列数を設定します
FpSpread1.ActiveSheet.RowHeaderColumnCount = 2
FpSpread1.ActiveSheet.ColumnHeaderRowCount = 2
'列ヘッダのグリッド線を「凸状」に設定します
FpSpread1.ActiveSheet.ColumnHeaderHorizontalGridLine = New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised)
FpSpread1.ActiveSheet.ColumnHeaderVerticalGridLine = New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Raised)
'行ヘッダのグリッド線を「フラット」に設定します
FpSpread1.ActiveSheet.RowHeaderHorizontalGridLine = New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat)
FpSpread1.ActiveSheet.RowHeaderVerticalGridLine = New FarPoint.Win.Spread.GridLine(FarPoint.Win.Spread.GridLineType.Flat)
End Sub