How can I eliminate the lines in TreeView while keeping all arrows
问题 I have a TreeView which I am skinning using the SetWindowsTheme() pinvoke, however I am unable to remove the tree lines that appear. I do not wish to do 'Owner' drawn as I believe that would be the equivalent of taking an 18-wheeler truck to deliver one taco (overkill). What is a clean, quick way to eliminate the Tree forks while keeping the expansion arrows. (I need to keep the arrows on the root nodes as well) should look like : 回答1: Try this: yourTreeView.ShowLines = false; yourTreeView