MESCIUS SPREAD for Windows Forms 17.0J
ColumnEnd プロパティ (DragDropBlockEventArgs)

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

プロパティ値

最後の行のインデックスを表す Integer
private void fpSpread1_DragDropBlock(object sender, FarPoint.Win.Spread.DragDropBlockEventArgs e)
    {
    textBox1.Text = "The beginning column is " + e.ColumnBegin + " and the ending column is " + e.ColumnEnd;
    }
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.ColumnBegin & " and the ending column is " & e.ColumnEnd
End Sub
参照

DragDropBlockEventArgs クラス
DragDropBlockEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.