Hide the column of wpf listview -


How to create invisible columns of wpf listview? (One side width is to be set to minimum lama, but this is not a reasonable solution) Can someone help me?

There is a very easy way to do this.

Find and remove your columns:

  var temp = myGridView.Column [0]; MyGridView.Columns.RemoveAt (0);  

Enter the columns back in the view:

  myGridView.Columns.Add (temp); Temp.Width = 0; Temp.Width = Double.NaN;  

When you want to hide it, remove it from the Column Archive and when you want it to appear again, insert it again.


Comments