Hi,
I'm using a simple setup with some items (just some strings) in a RadListBox with drag and drop to another RadListBox. The drag and drops works fine, but it seems like the property ListBoxDragDropBehavior.AllowReorder does not always work. As you can see I have set it to "false", and when dragging items in normal speed it prevents the items from being reordered. But if i drag and drop a bit more aggressively I can actually reorder the items within the same RadListBox. I added a custom implementation of the ListBoxDragDropBehavior with an override of CanDrop, but that method is never called when dragging aggressively.
<
TabItem
Header
=
"DragTest"
>
<
TabItem.Resources
>
<
ResourceDictionary
>
<
Style
TargetType
=
"telerik:RadListBoxItem"
BasedOn
=
"{StaticResource {x:Type telerik:RadListBoxItem}}"
>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
</
Style
>
</
ResourceDictionary
>
</
TabItem.Resources
>
<
telerik:RadListBox
AllowDrop
=
"True"
ItemsSource
=
"{Binding DragItems1}"
>
<
telerik:RadListBox.DragVisualProvider
>
<
telerik:ScreenshotDragVisualProvider
/>
</
telerik:RadListBox.DragVisualProvider
>
<
telerik:RadListBox.DragDropBehavior
>
<
telerik:ListBoxDragDropBehavior
AllowReorder
=
"False"
/>
</
telerik:RadListBox.DragDropBehavior
>
</
telerik:RadListBox
>
</
TabItem
>