Questions tagged [snapping]

65 questions
0
votes
1 answer

Snap with padding?

In the API documentation I see Snap, SnapMode and SnapTolerance; none of which seem to do what I want. I have multiple draggable divs in my UI that snap together, which is great, but I have added a dropshadow so I would really like them to snap but…
user736893
0
votes
1 answer

WPF Margins are large numbers. Don't appear to be relative to other controls, just borders

When I define the margin width of my rectangle objects in WPF, they snap to the edge of the page, i.e. Margin="10,10,0,0" puts it in the top left corner instead of snapping to a 10,10 border around other objects. When I drag it to the correct place…
Darthmarshie
  • 87
  • 1
  • 11
0
votes
2 answers

Solution for Snap View in Windows 8

How to use the "Snap View" process in Win 8 application? I have tried many no.of times using different blogs but couldn't find the right solution for it. Can anyone help me with the following conditions: What is the coding for snap view? How to…
Enemy AB
  • 1
  • 1
0
votes
1 answer

Prevent window from snapping to screen edges

Possible Duplicate: How do you disable Aero Snap in an application? Is there a way to prevent a WPF window from snapping to screen edges (i.e. Aero snap)? I know this can be disabled by the user in the OS, but I want to prevent only my window…
IneedHelp
  • 1,630
  • 1
  • 27
  • 58
-2
votes
1 answer

"What time is it" by dragging the pointer

I'm trying to implement a small didactic program written in Qt, that uses QML as I'm learning in parallel. I'd like to know if it is possible to get the real time during the circular drag of the clock pointer. Would you recommend to start with that…
1 2 3 4
5