I want to add a button inside the treeview container style & how can I add click event.
I am using a HierarchicalDataTemplate.
Thanks
Pravesh
I am using a HierarchicalDataTemplate.
this.OfficesDataSource = new List<
OfficeName
>();
OfficeName o;
EmployeeName e;
this.OfficesDataSource.Add(o = new OfficeName("A"));
o.EmployeeNames.Add(e = new EmployeeName("X"));
o.EmployeeNames.Add(new EmployeeName("Y"));
this.OfficesDataSource.Add(o = new OfficeName("B"));
o.EmployeeNames.Add(new EmployeeName("Z"));
this.DataContext = this.OfficesDataSource;
Thanks
Pravesh