You must Sign In to post a response.
  • Category: Silverlight

    Reodering in canvas in silverlight

    sir,

    in canvas i have four object.
    like 1,2,3,4...
    when i drag 1 to positon 2, both should interchange with each other.

    How can i achieve it?

    i think it is something like swapping of two object with each other.

    Thanks in advance

    Mks
  • #721036
    You have to store the values of the controls where they are presently.

    make use of the Drag or Hover event and check for the IsHit.

    for example here is a Drag event.

    <uiElement DragEnter="eventHandler"/>

    Thanks & Regards
    Anil Kumar Pandey
    Microsoft MVP, DNS MVM


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.