Hello.
My aim is to change the target record's border color when moving a row in xamDataGrid (drag & drop framework). So far I've got working drag and drop functionality, but I can't figure out how to change row border color of the record over which the user hold's source record.
I tried setting DropTargetStyle inside ig:DropTarget element but the target is CardPanel and it doeasn't have anything like border brush and border thickness.
As a reference project I used the DragRecordsXDG (2).zip from https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/68238/xamdatagrid-drag-drop-a-row-on-the-same-grid-to-order-rows but I can't attach the zip file to this post.
Thank you in advance,
Mateusz
That's sad but nevertheless thank you for the information.
Hello Mateusz,
I tried applying a DropTargetStyle but with a custom control template with undesirable results. It appears for now we only support a marker brush.
You can suggest new product ideas for future versions (or vote for existing ones) at <https://es.infragistics.com/community/ideas>. Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you. Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
Let me know if you have any questions.
Michael DiFilippoSoftware DeveloperInfragistics, Inc.
Hello, thank you for quick reply.
I saw this particular example and unfortunately, this doesn't solve the problem. In this example, the background is changed using DropTargetMarkerBrush property and I'm looking for a way to change the border brush and border thickness of target row.
Best regards
Hello and thank you for contacting Infragistics. This has been previously discussed here with a provided samplehttps://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/72874/drag-drop-highlight-entire-row-when-dragging-from-source-in-xam-data-grid
There is a custom DataRecordPresenter in App.xaml.
DragDropRecordsBetweenGrids.zip