MESCIUS SPREAD for Windows Forms 15.0J
RowEnd プロパティ (DragDropBlockEventArgs)
使用例 

ドラッグ元範囲の右下セルの行インデックスを取得します。
構文
'宣言
 
Public ReadOnly Property RowEnd As Integer
public int RowEnd {get;}

プロパティ値

最後の行のインデックスを表す Integer
使用例
private void fpSpread1_DragDropBlock(object sender, FarPoint.Win.Spread.DragDropBlockEventArgs e)
{
    textBox1.Text = "The beginning row is " + e.RowBegin + " and the ending row is " + e.RowEnd;
}
Private Sub FpSpread1_DragDropBlock(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragDropBlockEventArgs) Handles
FpSpread1.DragDropBlock
    TextBox1.Text = "The beginning row is " & e.RowBegin & " and the ending row is " & e.RowEnd
End Sub
参照

DragDropBlockEventArgs クラス
DragDropBlockEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.