Answer Posted / Bharti Nayak
To implement drag-and-drop in Silverlight, follow these steps:n1. Set the DragDropBehavior property of your control to 'Copy' or 'Move'.n2. Handle the MouseLeftButtonDown event on a draggable item.n3. Call the BeginDrag() method to start dragging.n4. In the MouseMove event, update the position of the dragged item.n5. Handle the MouseLeftButtonUp event to stop dragging and perform any necessary actions (e.g., dropping).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category