I've tried to set the Font orientation (to 270) in the sfDataGrid, and none have worked. Is this a known deficiency, and when is it expected to be implemented. I'm after the header text, but the normal cell text seems to have the same issue.
Here is a snipet of the code I was running:
private void sfDataGrid_AutoGeneratingColumn(object sender, Syncfusion.WinForms.DataGrid.Events.AutoGeneratingColumnArgs e)
{
e.Column.AllowHeaderTextWrapping = true;
if (e.Column.HeaderText == "Product Name")
{
e.Column.HeaderStyle.Font.Orientation = 270;
}
}
private void sfDataGrid_DrawCell(object sender, Syncfusion.WinForms.DataGrid.Events.DrawCellEventArgs e)
{
if ((e.DataRow as DataRowBase).RowType == RowType.StackedHeaderRow)
{
if (e.CellValue.ToString() == "Product Name")
{
e.Style.Font.Orientation = 270;
}
}
if ((e.DataRow as DataRowBase).RowType == RowType.HeaderRow)
{
if (e.CellValue.ToString() == "Order Date")
{
e.Style.Font.Orientation = 270;
}
}
}