Quantcast
Viewing all articles
Browse latest Browse all 7205

How to replace the cursor with a thumbnail image while dragging a card in the LayoutView

This example demonstrates how to replace the standard cursor with a miniature copy of the dragged card during the drag-and-drop operation in the LayoutView.

Question Comments

Added By: Simon Hewitt at: 10/20/2015 5:55:43 AM    

This just crashes each time I run it. (in cardPainter.DrawObject)

Added By: Andrew Ser (DevExpress Support) at: 10/20/2015 7:21:32 AM    Hello Simon,
Thank you for letting us know. We will research why the NullReferenceException is thrown and modify the example soon.Added By: Gosha (DevExpress Support) at: 10/21/2015 3:05:57 AM    

Thank you for your patience, Simon. Starting with version 14.1.7, it's necessary to pass a card to the LayoutView.DrawCard property to get it work. This property is private. So, you need to use Reflection to get it.


Viewing all articles
Browse latest Browse all 7205

Trending Articles