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

オートフィルに使用する範囲の右下セルの列インデックスを取得します。
構文
'宣言
 
Public ReadOnly Property ColumnEnd As Integer
public int ColumnEnd {get;}

プロパティ値

最後の列のインデックスを表す Integer
使用例
private void fpSpread1_DragFillBlock(object sender, FarPoint.Win.Spread.DragFillBlockEventArgs e)
{
    textBox1.Text = "The beginning column is " + e.ColumnBegin + " and the ending column is " + e.ColumnEnd;
}
Private Sub FpSpread1_DragFillBlock(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragFillBlockEventArgs) Handles
FpSpread1.DragFillBlock
    TextBox1.Text = "The beginning column is " & e.ColumnBegin & " and the ending column is " & e.ColumnEnd
End Sub
参照

DragFillBlockEventArgs クラス
DragFillBlockEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.