hide column in code

Nov 3, 2008 at 7:50 PM
I'd like to hide columns in the AutoGeneratingColumn event, but I don't see how to set the visibility on a column.  Can someone give me an example of hiding a column in code?


Nov 3, 2008 at 8:47 PM
You have access to DataGridColumn.Visibility.
Nov 4, 2008 at 2:10 PM
Sorry.  I didn't have the new version installed properly.  It works now.