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 |
Explain teh purpose of parent xaml tag of silverlight page?
Explain the term Moonlight?
Which .net applications are supported in silverlight?
What are the tools are required to develop Silverlight applications?
Differentiate between Silverlight and Windows Presentation Foundation (WPF)?
what is silverlight.js file? Explain with an example.
How the even routing method works in silverlight?
What is isolated storage in silverlight?
What are the necessary step that need to be performed in order to download content from within silverlight?
Do you know three ways of applying layouts in SilverLight?
What are the ways to display text with Silverlight?
Explain how can silverlight use asx files?