MESCIUS SPREAD for Windows Forms 17.0J
Row プロパティ (EnterCellEventArgs)

フォーカスの移動先のセルの行インデックスを取得します。
構文
'Declaration
 
Public ReadOnly Property Row As Integer
public int Row {get;}

プロパティ値

行のインデックスを表す Integer
private void fpSpread1_EnterCell(Object sender, FarPoint.Win.Spread.EnterCellEventArgs e) 
{
    textBox1.Text = "You have entered cell " + e.Row + " - " + e.Column + " on sheet " + e.View.ActiveSheetIndex;
}
Private Sub FpSpread1_EnterCell(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EnterCellEventArgs) Handles FpSpread1.EnterCell
    TextBox1.Text = "You have entered cell " & e.Row & " - " & e.Column & " on sheet " & e.View.ActiveSheetIndex
End Sub
参照

EnterCellEventArgs クラス
EnterCellEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.