PowerTools SPREAD for Windows Forms 8.0J
Cancel プロパティ (DragFillBlockEventArgs)


オートフィルをキャンセルするかどうかを表す値を取得または設定します。
構文
'Declaration
 
Public Property Cancel As Boolean
'使用法
 
Dim instance As DragFillBlockEventArgs
Dim value As Boolean
 
instance.Cancel = value
 
value = instance.Cancel
public bool Cancel {get; set;}

プロパティ値

Boolean:キャンセルする場合は True、それ以外の場合は False
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-2015, GrapeCity inc. All rights reserved.