This is a migrated thread and some comments may be shown as answers.

How to check a RadTileViewItem dragged out of RadTileView

1 Answer 29 Views
TileView
This is a migrated thread and some comments may be shown as answers.
HY
Top achievements
Rank 1
HY asked on 22 Dec 2011, 02:04 PM
Hi,

I am a newbie to Silverlight & I am using the Telerik library to implement my projects.

I want to ask how can I check if a RadTileViewItem has been dragged out of the RadTileView?
For example, I dragged a RadTileViewItem  out of the RadTileView. Once I released the Mouse Left Button, it should detect that the RadTileViewItem is outside the boundary of the TileView & remove it from the TileView.
I've tried to use the event TileViewItemDraggedEnd but it does not give me the Mouse location or the location of the dragged TileViewItem.

Thank you for your help.

Regards,
HY 


1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 27 Dec 2011, 11:29 AM
Hi HY,

 Basically, you can use the RadDragAndDropManager events or the DragDropManager which offers intuitive API similar to Microsoft DragDrop.
I prepared a project for you that uses the RadDragDropManager and demonstrates how to drag a TileViewItem from TileView and "put" in i something like "Recycle Bin". Please let us know if this approach satisfies you. You could also elaborate more on your scenario if it is different from the one that is shown.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TileView
Asked by
HY
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or