So I am trying to use drag and drop with the XamTreeGrid and for some reasons, the issue I am having is that I can drag the row only by the text box and not by the row itself, and same goes for the drop here is part of the code:
<igWpf:XamTreeGrid Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" PreviewKeyDown="abc_OnPreviewKeyDown" x:Name="abc" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" DataSource="{Binding abc}" SelectedItemsChanged="abc_OnSelectedItemsChanged" MouseDoubleClick="abc_OnMouseDoubleClick" KeyDown="abc_OnKeyDown" PreviewMouseWheel="abc_OnPreviewMouseWheel"> <igWpf:XamTreeGrid.Resources> <Style TargetType="{x:Type igWpf:DataRecordPresenter}"> <EventSetter Event="MouseRightButtonDown" Handler="EventSetter_OnHandler" /> </Style> </igWpf:XamTreeGrid.Resources> <ig:DragDropManager.DropTarget> <ig:DropTarget IsDropTarget="True" /> </ig:DragDropManager.DropTarget </igWpf:XamTreeGrid>
And for the dropp I've tried it on the templateField and still had no luck, any ideas/suggestions?
Hello,
Thank you for posting on our forums.
XamTreeGrid does not come with drag & drop supported out of the box and it is considered a feature request. You can submit product ideas on our website here:
https://es.infragistics.com/community/ideas
Please check XamDataTree instead, which has Drag & Drop supported:
https://es.infragistics.com/help/wpf/xamdatatree-xamdatatree-drag-and-drop
Should you have any further questions, please let me know.
Sincerely,Tihomir TonevAssociate Software DeveloperInfragistics