How to remove the extra column of DataGrid using wpf?

How to remove the extra column of DataGrid using wpf?

Last updated:8/9/2013 6:33:31 AM

1 Answers

shreesh chandra shukla
shreesh chandra shukla

Hello Mr. Jeet verma!

you should  to try this

dataGrid1.Columns[0].Width = new DataGridLength(1, DataGridLengthUnitType.Star);

thanks

Answer