how to create  an application in wpf same as expanding delegate treeview in qt. Thanks in advance.