SourceGrid.GridVirtual.ChangeDragCell C# (CSharp) Метод

ChangeDragCell() публичный Метод

Fired when the cell in the drag events change. For internal use only.
public ChangeDragCell ( CellContext cell, DragEventArgs pDragEventArgs ) : void
cell CellContext
pDragEventArgs System.Windows.Forms.DragEventArgs
Результат void
        public virtual void ChangeDragCell(CellContext cell, DragEventArgs pDragEventArgs)
        {
            if (cell.Position != mDragCellPosition)
            {
                if (mDragCellPosition.IsEmpty() == false)
                    Controller.OnDragLeave(new CellContext(this, mDragCellPosition, GetCell(mDragCellPosition)), pDragEventArgs);

                if (cell.Position.IsEmpty() == false)
                    Controller.OnDragEnter(cell, pDragEventArgs);

                mDragCellPosition = cell.Position;
            }
        }