Home > DeveloperSection > Forums > How to remove the extra column of DataGrid using wpf?
Jeet Verma
Jeet Verma

Total Post:110

Points:776
Posted on    August-08-2013 7:35 AM

 WPF WPF 
Ratings:


 1 Reply(s)
 884  View(s)
Rate this:

How to remove the extra column of DataGrid using wpf?



shreesh chandra shukla
shreesh chandra shukla

Total Post:105

Points:735
Posted on    August-09-2013 6:33 AM

Hello Mr. Jeet verma!
you should  to try this

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

thanks


Don't want to miss updates? Please click the below button!

Follow MindStick