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

ドロップ先範囲の左上セルの列インデックスを取得します。
構文
'宣言
 
Public ReadOnly Property DestinationColumnBegin As Integer
public int DestinationColumnBegin {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 メンバ

 

 


© MESCIUS inc. All rights reserved.