title: Is it possible to hide columns in WPF DataGrid when defined and bound with CollectionView?
body: <p>I'm trying with example from here</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/ff407126" rel="nofollow">http://msdn.microsoft.com/en-us/library/ff407126</a></p>
  
  <p>I would like to add a control that user can define which columns are visible. Can this be done easily? </p>
  
  <p>I found <a href="http://www.thomaslevesque.com/2011/03/21/wpf-how-to-bind-to-data-when-the-datacontext-is-not-inherited/" rel="nofollow">http://www.thomaslevesque.com/2011/03/21/wpf-how-to-bind-to-data-when-the-datacontext-is-not-inherited/</a> but it's different since it's not using CollectionView and CollectionViewSource.</p>
  
  <p>Thanks &amp; BR -Matti</p>