Hello!
I crashed my mind while I experimented with draw filter :-)
I download sample UltraWinGrid_ActiveRow_Border_CS, upgrade this to 9.2 and add micro modifications:
a) change Rect to ClipRect in draw filter
b) add code to replace default black border color to light gray
this.ultraGrid1.DisplayLayout.Override.CellAppearance.BorderColor = Color.FromArgb(0xCC, 0xCC, 0xCD);this.ultraGrid1.DisplayLayout.Override.RowAppearance = new Appearance{ BorderColor = Color.FromArgb(0xCC, 0xCC, 0xCD),};
c) fix headers in the designer
this.ultraGrid1.DisplayLayout.UseFixedHeaders = true;
At last run.
As you see in process of horizontal scrolling overlapped gray rectangle has been appearanced. This unwanted rectangle around the active cell has been drawn at DataAreaUIElement level after borders drawn at RowCellAreaUIElement level. Color of this rectangle equals border color of CellAppearance.
I ran the sample you attached here, but I cannot reproduce the behavior you are describing. What do I need to do with this sample to get this to happen?
In order that reproduce such behaviour you have to activate any cell (without entering to edit mode) and do horizontal scrolling to left until left border of active cell is intersecting with RowSelector's zone. You will see gray rectangle over RowSelector's zone.
Okay, I ran your sample and clicked on a cell in row 3 in the String 2 column.
I see a red border around the row and a gray border around the cell.
Now I scroll the grid to the right so that the String 2 column is partially visible.But I don't see the behavior you are getting.
My guess is that something is incorrect in your DrawFilter, but since I can't see the problem and don't know what your DrawFilter is supposed to be doing, it's hard for me to figure out what's wrong.
Why are you using a DrawFilter? What are you trying to accomplish?