How would you implement drag-and-drop in silverlight?
Answer / 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 |
what is the relationship between silver light, wpf and xaml?
What are the components of silverlight?
can you use any specific patterns in silverlight programming?
What is the use of AppManifest.xml file in Siverlight Application?
What are those browsers which supports silverlight?
What are the tools are required to develop Silverlight applications?
What are the different resource properties specifying a style?
Describe Moonlight and list the goals of using Moonlight?
Is it possible to consume wcf and web services in silverlight application?
What are those platforms which supports silverlight?
What do you mean by silverlight.js file?
Write the code to populate the controls in silverlight?