Home Forums WinForms controls Xceed Grid for WinForms Displaying/editing formatted text Reply To: Displaying/editing formatted text

User (Old forums)
Member
Post count: 23064

Hi Andre,

 

We have your code working, but the cell that contains the RTF control on the selected DataRow always has a blue back-color. Is there any way to get rid of this?

We tried to change this line from:

using (SolidBrush backBrush = new SolidBrush(richTextBox.BackColor)) {

to:

using (SolidBrush backBrush = new SolidBrush(Color.Empty)) {

Which reduced most of the blue area, but the area which directly contains text still has a blue area. Any input?

Imported from legacy forums. Posted by Yaron (had 320 views)