New to Telerik UI for WPFStart a free 30-day trial

Remove the Preview Drop Line from RadListBox

Updated on Sep 15, 2025

Environment

Product Version2021.2.615
ProductRadListBox 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>
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support