protected virtual void TaskGrid_ItemMoveSync(Container container) { containerPosition = TaskGrid.GetPosition(container); gridEvent = GridEvent.ItemMoved; SendToServer(); TaskGrid.SetItemMoved(container); }
protected virtual void TaskGrid_ItemSelectSync(Item item) { var container = TaskGrid.GetContainer(item); containerPosition = TaskGrid.GetPosition(container); itemIndex = container.Elements.IndexOf(item); gridEvent = GridEvent.ItemSelected; SendToServer(); TaskGrid.SetItemSelected(item, container); }