locked
how we can invoke a button when a image is draggged on to that button

    Question

  • how we can invoke a button when a image is draggged on to that button
    Friday, July 20, 2012 8:53 AM

All replies

  • Can you implement a Drop event handler for the button to achieve what your wanting?

    David Lamb

    Friday, July 20, 2012 11:10 PM
    Moderator
  • how it is possible....
    Monday, July 23, 2012 6:19 AM
  • Hi sarath.satheesh,

    I seems that Drag/drop between controls is not supported in Metro-style applications at this time. However, it is said that there is one customer who can drag and drop from one GridView to another GridView in a C# XAML Metro App. You can refer to this thread for more information about the drag/drop items: http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/6c8e4f23-c97b-4a2c-b100-74223de13c6e.

    What's more, this documentation talks about guidelines and checklist for drag-and-drop animations in Metro style apps. I suggest you refer to it for more helpful ideas: http://msdn.microsoft.com/en-us/library/windows/apps/hh465173.aspx.

    I hope this reply is helpful to you. If you have any questions, please feel free to let me know. 
    Best regards,  


    Helen Zhao [MSFT]
    MSDN Community Support | Feedback to us


    • Edited by Helen Zhao Monday, July 23, 2012 9:52 AM
    • Marked as answer by Jesse Jiang Thursday, July 26, 2012 6:39 AM
    • Unmarked as answer by Bilaal John S Tuesday, July 31, 2012 8:42 AM
    Monday, July 23, 2012 9:50 AM
  • hi...

    Is it possible to Invoke a button when an image is dragged on to it ? If yes how it possible. I need Example code for that in metro app.

    Regards,

    sarath s

    Tuesday, July 31, 2012 6:36 AM