I have a single RadListBox and I just want to enable drag re-ordering with no drop capabilities (the documentation is this area is horribly unclear).
I have the following XAML:
The problem I have is that the list box will let me drop items outside of it, thus removing the item from the list. I do not want this behavior.
I have the following XAML:
<tel:RadListBox ItemsSource="{Binding Path=DtedDirectories}" SelectedValue="{Binding Path=SelectedDtedDirectory}" SelectionMode="Single"> <tel:RadListBox.ItemContainerStyle> <Style TargetType="tel:RadListBoxItem"> <Setter Property="tel:DragDropManager.AllowCapturedDrag" Value="True" /> </Style> </tel:RadListBox.ItemContainerStyle> <tel:RadListBox.DragDropBehavior> <tel:ListBoxDragDropBehavior AllowReorder="True" /> </tel:RadListBox.DragDropBehavior></tel:RadListBox>The problem I have is that the list box will let me drop items outside of it, thus removing the item from the list. I do not want this behavior.