views:

30

answers:

0

Hi, How to access a parent proeprty from inside a headertemplate.I have overrided the gridviewcolumn class and add some custom properties to it.Now inside my headertemplate of listview i want to access this custom property using which a button shold be made visible or collpsed.I tried templatedparent and Findancestor but i cant get to the gridviewcolumn.How can i do this.