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
965
XamGrid columns drag&drop
posted

Hi Guys,

I need to be able to drag and drop the columns of my XamGrid outside of the grid itself. That is, for example I have on a page: a Border (that should be the drop target) and my XamGrid. Now, I'd like to drag a column onto my border which is outside of the Xamgrid's bounds.

I was thinking on using the DragDropManager, but after subscribing to ColumnLayoutAssigned event, calling DragDropManager.GetDragSource(myGrid.Columns[0]) always returns null. I assume this is normal and I should be able to use this with the visual itself and not the Column instance, right?

Can you provide me with information on being able to drag a column outside of the xamgrid control?

Parents Reply Children
No Data