PowerTools SPREAD for Windows Forms 10.0J
RowIndex プロパティ (RowErrorTextChangedEventArgs)


行インデックスを取得します。
構文
'Declaration
 
Public ReadOnly Property RowIndex As Integer
'使用法
 
Dim instance As RowErrorTextChangedEventArgs
Dim value As Integer
 
value = instance.RowIndex
public int RowIndex {get;}
次のサンプルコードは、行インデックスを取得します。
fpSpread1.ShowRowErrors = true;
fpSpread1.Sheets[0].Rows[1].ErrorText = "RowError";
fpSpread1.Sheets[0].Rows[1].Locked = true;

private void fpSpread1_RowErrorTextChanged(object sender, FarPoint.Win.Spread.RowErrorTextChangedEventArgs e)
{
    listBox1.Items.Add(e.RowIndex);
}
FpSpread1.ShowRowErrors = True
FpSpread1.Sheets(0).Rows(1).ErrorText = "RowError"
FpSpread1.Sheets(0).Rows(1).Locked = True


Private Sub FpSpread1_RowErrorTextChanged(sender As Object, e As FarPoint.Win.Spread.RowErrorTextChangedEventArgs) Handles FpSpread1.RowErrorTextChanged
   ListBox1.Items.Add(e.RowIndex)
End Sub
参照

RowErrorTextChangedEventArgs クラス
RowErrorTextChangedEventArgs メンバ

 

 


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