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 wrote another sample which reproduce this incident. For clarity's sake I didn't use drawfilter and set red border color for cell and row.
1. Build and Run this sample
2. Select cell
3. Scroll to right
So red border of active cell is overlapped instead of clipped with RowSelector's column.
Hi,
Okay, I see the problem now. The DrawFilter really confused the issue. I'm not sure why you included that in the first sample.
Anyway, this is pretty clearly a bug, and I am going to forward this thread over to Infragistics Developer Support so they can check this out and get it fixed.