Exemplo n.º 1
0
        public void End(NSPasteboard aPasteboard, NSDragOperation aOperation)
        {
            DraggableData dragData = new DraggableData(aPasteboard);

            iController.DragEnd(dragData, DragDropManager.Convert(aOperation));

            DragDropManager.Current = null;
        }
Exemplo n.º 2
0
        public NSDragOperation ValidateDrop(INSDraggingInfo aInfo, object aDestination)
        {
            DraggableData dragData = new DraggableData(aInfo.DraggingPasteboard);

            EDragOperation op = iController.ValidateDrag(dragData, aDestination);

            return(DragDropManager.Convert(op));
        }
Exemplo n.º 3
0
        public bool AcceptDrop(INSDraggingInfo aInfo, int aIndex, object aDestination)
        {
            DraggableData dragData = new DraggableData(aInfo.DraggingPasteboard);

            return(iController.AcceptDrop(dragData, aIndex, aDestination));
        }
Exemplo n.º 4
0
        public MediaProviderDraggable Convert(IDataObject aDataObject)
        {
            DraggableData data = new DraggableData(aDataObject);

            return(Convert(data));
        }