Thank you for writing.
You should handle the CellFormatting
event to achieve the desired functionality. Here is an example:
sender, CellFormattingEventArgs e)
GridCommandCellElement commandCell = e.CellElement
commandCell.CommandButton.Image = Image.FromFile(@
commandCell.CommandButton.ImageAlignment = ContentAlignment.MiddleCenter;
For more information about this event, please refer to the following help article: http://www.telerik.com/help/winforms/gridview-cells-formatting-cells.html
the Telerik team
Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward!
We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>