I defined a DataGrid
in my WPF and I want to make some column headers appear in vertical form. In this other post, this is done via MVVM. But how can I do this in C# code?
In other words, the method that used MVVM changes the orientation of all column headers. But I want some of headers to be vertical.