Hi Aaron,
You can do this by handling Model.QueryCellInfo or PrepareviewStyleInfo. By default, DataBoundGrid doesn''t store any style info properties. You can not set any cell or row specific properties for the DataBoundGrid other than the CellValue.You need to handle the PrepareViewStyleInfo (or Model.QueryCellInfo) Event to do this.Through this event you can set the style properties for the grid.
To set the Orientation for a column header cell, you check for the e.Style.CellType/e.Style.Text, if that points to the cell you desired, set the e.Style.Font.Orientation for it.
private void Model_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
if( e.Style.CellType == "ColumnHeaderCell" && e.Style.Text == "ColumnHeaderTextName")
{
e.Style.Font.Orientation = 270;
}
}
See the KnowledgeBase Articles for more info.
QueryCellInfo event :
http://www.syncfusion.com/Support/article.aspx?id=10351PrepareViewStyleInfo event :
http://www.syncfusion.com/Support/article.aspx?id=560Regards,
Haneef