I have not seen this behavior before, it seems that this may be a problem with the pattern. Can you post some code to demonstrate what you are doing to make sure there is nothing crazy?
One thing I can offer to try is to call treeview.SuspendLayout () and ResumeLayout () after adding your nodes. Look, it doesn't matter.
EDIT
Flag This Problem
Correction Suggestions:
i) Disabling visual styles.
ii) Adding an empty node to the end of the list.
source
share