All Questions
20
questions
-2
votes
1
answer
132
views
wpf drag and drop while moving the control
can't seem to find how to implement behavior that supports drag&dropping a control (with DragEnter, DragOver, DragLeave and DragDrop events being fired on controls that are listening) while being ...
0
votes
0
answers
56
views
Animation at the same time as the mouse path - WPF
I would like to know if you can or cannot (and if you can, how) to make an animation that moves forward and backward as the mouse moves. If the mouse clicks on the object that activates the animation ...
0
votes
2
answers
5k
views
Drag and drop not working using Actions when draggable=true using Selenium and C#
Elements are identified correctly and i can see mouse moving between this two elements but drag and drop not happening.
Ui not displayed any highlights when click and hold.
No errors also.
I have ...
1
vote
1
answer
219
views
UWP - Is there any way to change the mouse cursor when exiting ListView without the event being triggered during drag and drop?
I have a draggable ListView that changes the mouse cursor on PointerEntered, PointerPressed and DragItemsStarting events. The problem is every time I perform drag and drop I always trigger ...
0
votes
1
answer
658
views
Moving object with mouse?
I am currently trying to move a 2D texture in SharpDX. I can successfully move it but it jumps quite a bit every few frames. For example, if I'm dragging from bottom, right to top, left, I'll get an ...
0
votes
1
answer
754
views
Object jumps to the center when dragging it
How do you use IBeginDragHandler and set position of drag to stay consistent and not suddenly switch to center of a GameObject?
This is my simple code to grab and object and release them in a new ...
0
votes
1
answer
668
views
WPF Drag drop Create a Layout for Locations
I have been troubling with wpf drag drop idea. So far now, I tried the list of examples below but it doesn't help me in here.
https://codeblitz.wordpress.com/2009/06/26/wpf-itemscontrol-drag-drop-...
1
vote
1
answer
996
views
C# Move Panel inside Form
I would like to make certain panels within my Form draggable/movable. I have integrated:
public const int WM_NCLBUTTONDOWN = 0xA1;
public const int HT_CAPTION = 0x2;
[DllImportAttribute(...
-1
votes
1
answer
1k
views
Dragging Item With Icon Following Pointer Unity C# [duplicate]
How To Dragging Item With Icon Following Pointer ?
MAYBE IT WILL TAKE SOME TIMES TO SEE ALL THE CODE. Many thanks Before for your attention.
But I have done a little Code Before. And it is run ...
0
votes
1
answer
43
views
Drag and Drop something
I made a class Schalter (eng. switch) and now I want to drag and drop this to an other position. The Schalter is a just an object with 0 or 1 as output and it has some drawing in it. I tried something ...
0
votes
1
answer
907
views
Image jumps to its center point when dragged with a mouse
Hoping someone has a quick answer for this one as I haven't been able to figure this out. Rather than have the image jumping to center itself on the mouse cursor, I'd like to be able to drag the image ...
0
votes
1
answer
66
views
Recreating a ManipulationStarting event programmatically
I have a canvas. Within this canvas (let's say off to the right) I have a StackPanel, wrapped in a ScrollViewer, containing images. I would like the user to be able to grab an image from the ...
1
vote
0
answers
47
views
C# Drag and drop am image to a running application?
I have an application that I did not make. This application lets images be drag and dropped onto it.
What I need to do is have a folder and any files that are added to it be dragged and dropped onto ...
1
vote
2
answers
581
views
Drag and drop a CustomControl working only from it's background
I have a custom control containing a button with a label underneath. I want to make these controls to be draggable over another one to arrange them as I want in a flowlayoutpanel.
Now is working only ...
4
votes
1
answer
2k
views
C# Drag & Drop Multiple Images within Canvas
I've got the following code to drag and drop images inside my Canvas:
img.AllowDrop = true;
img.PreviewMouseLeftButtonDown += this.MouseLeftButtonDown;
img.PreviewMouseMove += this.MouseMove;
img....