HOW TO REMOVE THE EXTRA COLUMN OF DATAGRID USING WPF?

Jeet Verma

Total Post:110

Points:776
Posted by  Jeet Verma
WPF 
WPF
 1308  View(s)
Ratings:
Rate this:

How to remove the extra column of DataGrid using wpf?

  1. shreesh chandra shukla

    Post:105

    Points:735
    Re: How to remove the extra column of DataGrid using wpf?

    Hello Mr. Jeet verma!

    you should  to try this

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

    thanks

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!