Hi,
I followed a blog post (link 1 and link 2) to add a highlight on rows in a ListBox while dragging. Now I want to do something similar with TreeView, but I don’t know how to do it.
I’m writing in Rust but I think a general approach would suffice as answer.
Not quite.
In the blog post it calculated if you hovered over the upper or the lower part over the item in the ListBox and based on that used another css which looked like this.