PowerTools SPREAD for Windows Forms 10.0J
NumberToCopy プロパティ (DragFillBlockEventArgs)


入力範囲の行または列の数を取得します。
構文
'Declaration
 
Public ReadOnly Property NumberToCopy As Integer
'使用法
 
Dim instance As DragFillBlockEventArgs
Dim value As Integer
 
value = instance.NumberToCopy
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 メンバ

 

 


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