The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
if the bound object has a "Brws" property, I make that column buttons:
GridBoundColumn c = grid.Binder.InternalColumns["Brws"];
if (c != null)
{
GridStyleInfo info = c.StyleInfo;
info.CellType = "PushButton";
info.Description = "Brws";
}
This works fine except, when i modify a grid style through PropertyGrid, for example, back color. the buttons immediately become text boxes.
Is there a way to work around this, or if I should handle this in a different way?
Thanks,
Chunhui
ADAdministrator Syncfusion Team February 15, 2005 11:25 PM UTC
We currently do not support button BackColor through setting style properties. If you want to set a button backcolor, you can handle the DrawCellButtonBackColor event. Here is a forum thread on this.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=19312