1. TextAlignment = ContentAlignment.MiddleCenter;
2. Bold = true;
private void gv_CellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement.ColumnInfo is GridViewCommandColumn)
{
int index = (int)e.CellElement.RowInfo.Cells[0].Value - 1;
((RadButtonElement)e.CellElement.Children[0]).TextAlignment = ContentAlignment.MiddleCenter;
((RadButtonElement)e.CellElement.Children[0]).Font.Bold = True;
}
}
Please refer picture from attachment.
Who can help me? :)
Thank You.
2. Bold = true;
private void gv_CellFormatting(object sender, CellFormattingEventArgs e)
{
if (e.CellElement.ColumnInfo is GridViewCommandColumn)
{
int index = (int)e.CellElement.RowInfo.Cells[0].Value - 1;
((RadButtonElement)e.CellElement.Children[0]).TextAlignment = ContentAlignment.MiddleCenter;
((RadButtonElement)e.CellElement.Children[0]).Font.Bold = True;
}
}
Please refer picture from attachment.
Who can help me? :)
Thank You.