Vertical text in a DataGrid column header
-
Is it possible to use a vertical font in the header of a data grid? When the column titles ae longer than the contents of the cells, it seems such a waste of screen space to have wide columns (and not user-friendly to hide most of the titles by having narrow columns). Any ideas welcome!
-
Is it possible to use a vertical font in the header of a data grid? When the column titles ae longer than the contents of the cells, it seems such a waste of screen space to have wide columns (and not user-friendly to hide most of the titles by having narrow columns). Any ideas welcome!
The
DataGrid
does not allow you to draw the column headers. I would recommend a third-party control like XtraGrid from Developer Express[^] if you require such functionality. Many third-party controls like those from Developer Express are cheap and most often royalty free.Microsoft MVP, Visual C# My Articles