GrapeCity SPREAD for Windows Forms 12.0J
Footer プロパティ (RowHeightChangedEventArgs)


行インデックスが列フッタ行であるかどうかを取得します。
構文
'Declaration
 
Public ReadOnly Property Footer As Boolean
'使用法
 
Dim instance As RowHeightChangedEventArgs
Dim value As Boolean
 
value = instance.Footer
public bool Footer {get;}
次のサンプルコードは、Footerプロパティを使用します。
fpSpread1.Sheets[0].ColumnHeader.RowCount = 2;
fpSpread1.Sheets[0].ColumnHeader.Rows[0].Resizable = true;
fpSpread1.Sheets[0].ColumnHeader.Rows[1].Resizable = true;

private void fpSpread1_RowHeightChanged(object sender, FarPoint.Win.Spread.RowHeightChangedEventArgs e)
{
    listBox1.Items.Add(e.Header);
    listBox1.Items.Add(e.Footer);
}
FpSpread1.Sheets(0).ColumnHeader.RowCount = 2
FpSpread1.Sheets(0).ColumnHeader.Rows(0).Resizable = True
FpSpread1.Sheets(0).ColumnHeader.Rows(1).Resizable = True

Private Sub FpSpread1_RowHeightChanged(sender As Object, e As FarPoint.Win.Spread.RowHeightChangedEventArgs) Handles FpSpread1.RowHeightChanged
   ListBox1.Items.Add(e.Header)
   ListBox1.Items.Add(e.Footer)
End Sub
参照

RowHeightChangedEventArgs クラス
RowHeightChangedEventArgs メンバ

 

 


Copyright © 2004 GrapeCity inc.