New to Telerik UI for WPF? Start a free 30-day trial
Remove the Preview Drop Line from RadListBox
Updated on Mar 17, 2026
Environment
| Product Version | 2021.2.615 |
| Product | RadListBox for WPF |
Description
How to hide the horizontal line (LinearDropVisual) displayed on drag over elements in RadListBox when the ListBoxDragDropBehavior is enabled.
Solution
Create an implicit style targeting the LinearDropVisual control and set its Visibility to Collapsed.
XAML
<telerik:RadListBox.Resources>
<Style TargetType="telerik:LinearDropVisual">
<Setter Property="Visibility" Value="Collapsed" />
</Style>
</telerik:RadListBox.Resources>