Home Forums WinForms controls Xceed Grid for WinForms Text decorations Reply To: Text decorations

User (Old forums)
Post count: 23064


I successfully painted the underline in my own class that overrides DataCell. However, I don’t know how to do custom painting on a cell being edited. I have a class that overrides TextEditor and my own WinTextBox. 

I tried many different tests, by example:

– Overriding the paint method in my WinTextBox, but it doesn’t do anything.
– Overidding WinTextBox.PaintBorders but it doesn’t get called at all
– Using a custom TextBoxArea with custom painting.
– Etc.

Do you have any idea how I could this? My changes seem to be either not called, not taken into consideration or overridden somehow by Xceed code…

Thank you!

Imported from legacy forums. Posted by Marie4 (had 858 views)