I am trying to get drag and drop within a list box working. With the following XAML, I don't see the drop indicator when attempting to drop the item below the last item, yet the drop still works...
<
UserControl.Resources
>
<
ListBoxDragReorderWpf:TemplateViewModel
x:Key
=
"TemplateViewModel"
/>
<
DataTemplate
x:Key
=
"RadListBoxItemTemplate"
>
<
TextBlock
Text
=
"{Binding Name}"
/>
</
DataTemplate
>
<
Style
x:Key
=
"RadListBoxContainerStyle"
TargetType
=
"{x:Type telerik:RadListBoxItem}"
>
<
Setter
Property
=
"telerik:DragDropManager.AllowCapturedDrag"
Value
=
"True"
/>
</
Style
>
<
Style
x:Key
=
"RadListBoxStyle"
TargetType
=
"{x:Type telerik:RadListBox}"
>
<
Setter
Property
=
"ItemContainerStyle"
Value
=
"{StaticResource RadListBoxContainerStyle}"
/>
<
Setter
Property
=
"ItemTemplate"
Value
=
"{StaticResource RadListBoxItemTemplate}"
/>
</
Style
>
</
UserControl.Resources
>
<
Grid
DataContext
=
"{StaticResource TemplateViewModel}"
>
<
telerik:RadListBox
ItemsSource
=
"{Binding Pages}"
Style
=
"{StaticResource RadListBoxStyle}"
Width
=
"100"
Height
=
"200"
>
<
telerik:RadListBox.DragDropBehavior
>
<
telerik:ListBoxDragDropBehavior
/>
</
telerik:RadListBox.DragDropBehavior
>
<
telerik:RadListBox.DragVisualProvider
>
<
telerik:ScreenshotDragVisualProvider
/>
</
telerik:RadListBox.DragVisualProvider
>
<
telerik:RadListBox.DropVisualProvider
>
<
telerik:LinearDropVisualProvider
/>
</
telerik:RadListBox.DropVisualProvider
>
</
telerik:RadListBox
>
</
Grid
>