My DataGrid header is relatively small so the issue is obvious. When I center a label in the header, the DataGridSortIconMinWidth value of 32 takes up the right side space even though I set the CanUserSortColumns to false. So now all my column headers technically has 2 columns, my content and a size of 32 for the sort icon which doesn't exist for me.
Is there a way to get rid of the minwidth value when I set the CanUserSortColumns to false?
My DataGrid header is relatively small so the issue is obvious. When I center a label in the header, the DataGridSortIconMinWidth value of 32 takes up the right side space even though I set the CanUserSortColumns to false. So now all my column headers technically has 2 columns, my content and a size of 32 for the sort icon which doesn't exist for me.
Is there a way to get rid of the minwidth value when I set the CanUserSortColumns to false?