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
30
How to drag and drop in XamTreeGrid
posted

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?

Parents
No Data
Reply Children
No Data