How to 'Drag' objects in the WPF/E Canvas

I posted my Reflection Builder code last weekend, and haven't had a chance to discuss some of the things that are inside that block of code, so I thought I'd start with moving canvas elements around with the mouse, which can loosely be called drag and drop. Strictly-speaking I wouldn't call it drag and drop but more of a 'slide' because the elements still assume their canvas position in the xaml, so although you're moving things, their position relative to each other in the Z-Axis as it were, stays static.

Read the rest of the article here.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Friday, February 09, 2007 12:45 PM
Print

Comments on this entry:

No comments posted yet.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910