If this doesn’t convince you that it is worthwhile to learn Blend and Behaviors…
- Open a new phone project in Blend and drag a shape onto the artboard (e.g., an ellipse).
- Click on Assets –> Behaviors and drag MouseDragElementBehavior onto your shape
- There is no step 3. Run the program.
Note that if you try this with a Button or other control it won’t work. But if you put that control inside a Border and then drag MouseDragElementBehavior onto the border, you can then drag the border.
About Jesse Liberty
** Note ** Jesse is currently looking for a new position. You can learn more about him at https://jesseliberty.bio Thank you.
Jesse Liberty has three decades of experience writing and delivering software projects and is the author of 2 dozen books and a couple dozen online courses. His latest book, Building APIs with .NET, is now available wherever you buy your books.
Liberty was a Team Lead and Senior Software Engineer for various corporations, a Senior Technical Evangelist for Microsoft, a Distinguished Software Engineer for AT&T, a VP for Information Services for Citibank and a Software Architect for PBS. He is a 13 year Microsoft MVP.
thanks…very nice
nice..thanks..
Cool. But that’s just the “Drag” part. How about the “Drop”? 😉