Home Forums WinForms controls Xceed Grid for WinForms Change font style of grid column headers Reply To: Change font style of grid column headers

User (Old forums)
Member
Post count: 23064

Hi Diane,

 I debug into it. I can see the error message is from VirtualListBase.cs  this line of code.

System.Diagnostics.Debug.Assert( ( !isWeakReferenced ) && ( currentItem != null ), “The item to be demoted is either not initialized or already wrapped within a weak reference.” ); 

If I put a break point somewhere nearby and run step by step. It is not fired all the time. It looks like a thread issue, isn’t it? 

But it works fine in VS if I change my project from Debug mode to Release mode. How can I avoid it at debug mode? 

About the border problem, the grid in my project had been customized to come with border in column header but no borders in data row cells.

Do you know how to apply the style only on column header without affect other data cells? 

 

Michael 

Imported from legacy forums. Posted by Michael (had 352 views)