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

Custom Drag Preview Template?

1 Answer 77 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Manuel Ruf
Top achievements
Rank 1
Manuel Ruf asked on 21 Apr 2010, 04:37 PM
When dragging a tree view item inside a tree view, a visual copy of the complete tree view item that I am dragging is rendered at the position of my mouse.
Now I was wondering whether there is a way to change that so that not a visual copy is used when dragging but something I can customize.
The problem is that my tree view items are quite large and it is annoying to the user to see the complete item while she is moving the mouse. Of couse I could just disable the preview using IsDragPreviewEnabled but I would like to have some kind of visual representation of the item when dragging.

Please see the attached picture for reference. I marked the preview containers I would like to customize with red color.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 22 Apr 2010, 12:43 PM
Hi Manuel Ruf,

Please take a look at this post and let me know if the suggested approach works for you or if you need more info.

Best wishes,
Tina Stancheva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
TreeView
Asked by
Manuel Ruf
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or