PowerTools SPREAD for Windows Forms 10.0J
DestinationColumnEnd プロパティ (DragDropBlockEventArgs)


ドロップ先範囲の右下セルの列インデックスを取得します。
構文
'Declaration
 
Public ReadOnly Property DestinationColumnEnd As Integer
'使用法
 
Dim instance As DragDropBlockEventArgs
Dim value As Integer
 
value = instance.DestinationColumnEnd
public int DestinationColumnEnd {get;}

プロパティ値

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

DragDropBlockEventArgs クラス
DragDropBlockEventArgs メンバ

 

 


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