Well I wanna please ask you how can I implement a ribbon for example that have p开发者_Python百科rimitives like line, ellipse, rectangle, point, etc ... So that the user can drag any of these primitives from the ribbon and drag it in the grid where he can drag, drop and resize the added primitive freely.
Thanks
I'm afraid that the Silverlight toolkit drag and drop classes won't help you here since you won't be using any standard drop target, so your options for the drag and drop are:
- Implement it manually, based on mouse events. Here's a basic example from the MSDN. Also, here's a nice article on how you could do this with behaviors: Expression Blend 3: Trying a drag-and-drop behavior.
- Use ComponentOne DragDropManager (not free).
- Use Telerik DragDropManager (not free).
精彩评论