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

入力範囲の行または列の数を取得します。
構文
'宣言
 
Public ReadOnly Property NumberToCopy As Integer
public int NumberToCopy {get;}

プロパティ値

行または列の数を表す Integer
使用例
private void fpSpread1_DragFillBlock(object sender, FarPoint.Win.Spread.DragFillBlockEventArgs e)
{
    if(e.NumberToCopy > 3)
    {
        e.Cancel = true;
    }
}
Private Sub FpSpread1_DragFillBlock(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragFillBlockEventArgs) Handles
FpSpread1.DragFillBlock
    If e.NumberToCopy > 3 Then
        e.Cancel = True
    End If
End Sub
参照

DragFillBlockEventArgs クラス
DragFillBlockEventArgs メンバ

 

 


© MESCIUS inc. All rights reserved.