MESCIUS SPREAD for Windows Forms 17.0J
NumberToCopy プロパティ (DragFillBlockEventArgs)

入力範囲の行または列の数を取得します。
構文
'Declaration
 
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.