FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > DragFillBlockEventArgs クラス : Cancel プロパティ |
'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;}
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