We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Drag and Drop

Thread ID:





23513 Jan 13,2005 03:29 PM UTC Jan 13,2005 07:43 PM UTC WinForms 2
Tags: GridControl
Asked On January 13, 2005 03:29 PM UTC

How can I change the drag and drop rectangle that Syncfusion is painting during the a drag operation. I understand that I can change the range by modiying the RangeList in the GridQueryOleDataSourceData event, but I would like to change the actual shape being drawn during a drag/drop to just a single line? And perhaps even my own special shape. Thanks, Steve

Administrator [Syncfusion]
Replied On January 13, 2005 04:15 PM UTC

You can either turn off the grid''s default OLE support, and do everything yourself using the generic Windows Form D&D support, or you can create a IGridDataObjectConsumer (or maybe derive one of ours, GridTextDataObjectConsumer), and then implement the DetermineRowColCount method to set these bounds. I will try to work up a sample for this but it maybe the first of next week before it gets done.

Replied On January 13, 2005 07:43 PM UTC

Thanks Clay. Don''t worry about an example, I think I may have one that will work.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon