Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
Change border of target row (drag and drop framework)
posted

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

Parents Reply Children