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.
Hi,
I color a row (with multicolumns) in dgrResults_PrepareViewStyleInfo() method by the following:
e.Style.BackColor = Color.Silver;
However, I scroll horizontalScroll, verticalScroll, this backcolor become White.
How to keep "Silver" color when clicking the scrollbars?
Please help!
Thanks!
ADAdministrator Syncfusion Team May 18, 2005 02:10 PM UTC
Exactly under what conditions do you set
e.Style.BackColor = Color.Silver;
Do they vary when you scroll? If so, you will have to come up with a different way to identify when to set this color.
Here is a little sample that seems to scroll teh silver cell OK. What are you doing differently?
http://www.syncfusion.com/Support/user/uploads/GDBG_SColl_dab7e62f.zip