Home Forums WinForms controls Xceed Grid for WinForms PaintFocusRectangle even when grid loses focus Reply To: PaintFocusRectangle even when grid loses focus

Xceed Support
Member
Post count: 5658

 

Hi Buzz,

Overriding PaintFocusRectangle will only draw the rectangle when the GridControl is on focus. It is normal that the rectangle disappears when the grid control loses the focus.

To keep the rectangle, you could override the PaintBackground method on the Cell class.
 

Imported from legacy forums. Posted by Mohamed [Xceed] (had 890 views)