1

I am using Wpf DataGrid and I can see a last unwanted column, which I understand is just a filler for the available space on the right, and is not an actual column as such. Is there a way to style that column a bit different than rest of the grid so that I can highlight that it is not an actual column?

Varun Mahajan
  • 7,037
  • 15
  • 43
  • 65
  • Try this if you wish to remove that column. http://stackoverflow.com/questions/18215068/removing-datagrid-blank-column/18216111#18216111 – Nitesh Oct 08 '13 at 04:57

1 Answers1

0

Apply a style to targettype header with a trigger that does whatever you want when content equals {x:null}. Since the last header has no content the trigger will fire on that one.

dev hedgehog
  • 8,698
  • 3
  • 28
  • 55