How to disable filter header row completely

Oct 11, 2012 at 7:25 PM

I was wondering if it was possible to hide the filter header row all together.


I tried a few variations on something like this:

foreach(var header in MyDataGrid.FilterHeaders)


   header.Visibility = Visibility.Collapse;



Also header.Height = 0;


Nothing seems to work.  How can I accomplish this?