The best way (only way I know) is to first create a DataGridTableStyle and
then create DataGridColumnStyle objects for each of the columns you want
visible. Add each DataGridColumnStyle to the DataGridTableStyle and finally
add the DataGridTableStyle to the DataGrid.
See MSDN documentation for those two classes for more details.
--
Mike Mayer
http://www.mag37.com/csharp/ mr*****@charter.net
"Ann Marinas" <an*********@xtra.co.nz> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
Hello, everyone!
I was wondering about data grids the other day, and I've got a question
about it......
Can you hide columns in your datagrid even if the datagrid is binded?
Thanks!
Ann