PowerTools SPREAD for Windows Forms 10.0J
AlternatingRows プロパティ (ColumnFooter)


列フッタの交互行情報を取得します。
構文
'Declaration
 
Public ReadOnly Property AlternatingRows As AlternatingRows
'使用法
 
Dim instance As ColumnFooter
Dim value As AlternatingRows
 
value = instance.AlternatingRows
public AlternatingRows AlternatingRows {get;}
次のサンプルコードは、最初の交互行の背景色を設定します。
fpSpread1.Sheets[0].RowCount = 10;
fpSpread1.Sheets[0].ColumnCount = 15;
// Show the column footer.
fpSpread1.Sheets[0].ColumnFooter.Visible = true;
fpSpread1.Sheets[0].ColumnFooter.RowCount = 2;
fpSpread1.Sheets[0].ColumnFooter.AlternatingRows[0].BackColor = Color.PowderBlue;
fpSpread1.Sheets[0].ColumnFooter.DefaultStyle.ForeColor = Color.Purple;
fpSpread1.Sheets[0].ColumnFooter.Columns[12].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
fpSpread1.Sheets[0].ColumnFooter.Cells[0, 12].RowSpan = 2;
fpSpread1.Sheets[0].ColumnFooter.Cells[0, 0].Value = "test";
FpSpread1.Sheets(0).RowCount = 10
FpSpread1.Sheets(0).ColumnCount = 15
' Show the column footer.
FpSpread1.Sheets(0).ColumnFooter.Visible = True
FpSpread1.Sheets(0).ColumnFooter.RowCount = 2
FpSpread1.Sheets(0).ColumnFooter.AlternatingRows(0).BackColor = Color.PowderBlue
FpSpread1.Sheets(0).ColumnFooter.DefaultStyle.ForeColor = Color.Purple
FpSpread1.Sheets(0).ColumnFooter.Columns(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left
FpSpread1.Sheets(0).ColumnFooter.Cells(0, 12).RowSpan = 2
FpSpread1.Sheets(0).ColumnFooter.Cells(0, 0).Value = "test"
参照

ColumnFooter クラス
ColumnFooter メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.