How would you implement Drag-and-drop in Silverlight?

How would you implement Drag-and-drop in Silverlight?

- Drag and drop in Silverlight can be implemented by using Drag Drop Manager by using DragSource and DropTarget controls.

- DragSource makes any control to be draggable and DropTarget defines a location in the application to drop the DragSources.

- This functionality is a great end-user experience.

- It allows the UIElements as a drop target and enables the implementation of this functionality for the partially trusted in-browser and out of the browser applications and elevated-trusted OOB applications.

- The System.Windows.UIElement class has two properties AllowDrop and Visibility.

The System.Windows.UIElement class has four new events:

1. DragEnter
2. DragLeave
3. DragOver
4. Drop
Properties of the eventArgs argument when capturing keyboard events - Silverlight
The properties of eventArgs are types of keys like shift, ctrl and mouse actions, mouse pointer coordinates, x coordinate value, y coordinate value...
Function to get a reference to an object in the Silverlight control
The method findName() is used to refer an object inside the Silverlight control. The container reference is made in the Container.xaml and the corresponding....
Transformations Silverlight supports for the elements
The objects Ellipse and Rectangle are supported for transformations....
Post your comment