Need to set property
ColumnWidth = "*"
ColumnWidth property, which is responsible for setting the default width for each column.
About what modes you can set for this property you can read more here .
In addition, the DataGrid allows you to specify the width individually for each column separately. To do this, set the property AutoGenerateColumns = false and define each column explicitly. Despite the fact that this method spends more effort, it allows you to more accurately adjust the display.
Therefore, if you know exactly how many columns you should recommend using the second approach.