How to check a RadTileViewItem dragged out of RadTileView

2 posts, 0 answers
  1. HY
    HY avatar
    1 posts
    Member since:
    Dec 2011

    Posted 22 Dec 2011 Link to this post


    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.


  2. Petar Mladenov
    Petar Mladenov avatar
    2997 posts

    Posted 27 Dec 2011 Link to this post

    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.

    Petar Mladenov
    the Telerik team

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

Back to Top