New to Telerik UI for WPF? Download free 30-day trial

How to Change Drop Preview Line Color

Environment

Product Version 2021.3.914
Product DragDropManager for WPF

Description

How to change the color of the Drop Preview Line visual element.

Solution

To change the color, create a style targeting the LinearDropVisual element. Then set the BorderBrush property to the desired color.

<Style TargetType="telerik:LinearDropVisual"> 
    <Setter Property="BorderBrush" Value="Green"/> 
</Style> 
In this article