private void ReorderIssuesInNewList(bool previtem, int prevItemId, int nextItemId, int currentItemIndex, ref Issue issue, ref List <Issue> issues) { var dragDropContext = DragDropFactory.GetDragDropManager(CheckIfIssueIsInBottomHalfOfList(currentItemIndex, issues.Count), _issuesEngine); dragDropContext.DetermineNewIssueOrder(previtem, prevItemId, nextItemId, ref issue); dragDropContext.ReorderIssues(currentItemIndex, ref issue, ref issues); }
public SegmentsDrawerControl() { InitializeComponent(); DragDropFactory.SetDrag(SegmentsGrid, CanDrag); DragDropFactory.SetDrop(SegmentsGrid, CanDrop, DoDrop); }