Is it possible to override the colour and width of the horizontal drag / drop visual cue? If so can you give me an example ?
Cheers
Toby
1 Answer, 1 is accepted
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 04 Nov 2024, 12:49 PM
Hello Toby,
The illustrated line is actually presented by an image that is specified in each theme. If you need to customize the line while dragging a node, it is necessary to specify the TreeViewElement.ItemDropHint property using an image. The following code snippet illustrates how to set a new drop hint. You can create a new drop hint image and apply it to the ItemDropHint property.
this.radTreeView1.TreeViewElement.ItemDropHint = new RadImageShape() { Image = Properties.Resources.MyNewImage };
I hope this information helps.
Regards,
Dinko | Tech Support Engineer
Progress Telerik