hide column in code

Nov 3, 2008 at 6: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 7:47 PM
You have access to DataGridColumn.Visibility.
Nov 4, 2008 at 1:10 PM
Sorry.  I didn't have the new version installed properly.  It works now.