FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > DragDropBlockCompletedEventArgs クラス : DragDropBlockCompletedEventArgs コンストラクタ |
'Declaration
Public Function New( _ ByVal view As SpreadView, _ ByVal rowBegin As Integer, _ ByVal columnBegin As Integer, _ ByVal rowEnd As Integer, _ ByVal columnEnd As Integer, _ ByVal destRowBegin As Integer, _ ByVal destColumnBegin As Integer, _ ByVal destRowEnd As Integer, _ ByVal destColumnEnd As Integer, _ ByVal overwrite As Boolean, _ ByVal action As Integer, _ ByVal dataOnly As Boolean _ )
public DragDropBlockCompletedEventArgs( SpreadView view, int rowBegin, int columnBegin, int rowEnd, int columnEnd, int destRowBegin, int destColumnBegin, int destRowEnd, int destColumnEnd, bool overwrite, int action, bool dataOnly )
fpSpread1.DragDropBlockCompleted += new FarPoint.Win.Spread.DragDropBlockCompletedEventHandler(fpSpread1DragDropBlockCompleted); private void fpSpread1DragDropBlockCompleted(object sender, FarPoint.Win.Spread.DragDropBlockCompletedEventArgs e) { fpSpread1.ActiveSheet.Columns[e.ColumnEnd].BackColor = Color.Yellow; }
Dim eh As FarPoint.Win.Spread.DragDropBlockCompletedEventHandler = AddressOf FpSpread1DragDropBlockCompleted AddHandler FpSpread1.DragDropBlockCompleted, eh Private Sub FpSpread1DragDropBlockCompleted(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.DragDropBlockCompletedEventArgs) Handles FpSpread1.DragDropBlockCompleted FpSpread1.ActiveSheet.Columns(e.ColumnEnd).BackColor = Color.Yellow End Sub