Related github link is below: https://github.com/LeoMingGit/WPF_UI_Design/tree/master/WpfTreeView Output: