Hello!
I suppress draw filter for focus rectangle and try this code instead of:
this.ultraGrid1.DisplayLayout.Override.SelectTypeRow = SelectType.Extended;this.ultraGrid1.DisplayLayout.Override.SelectTypeCell = SelectType.Extended;this.ultraGrid1.DisplayLayout.Override.SelectTypeCol = SelectType.Extended;this.ultraGrid1.DisplayLayout.Override.SelectedAppearancesEnabled = DefaultableBoolean.True;this.ultraGrid1.DisplayLayout.SelectionOverlayBorderThickness = 3;this.ultraGrid1.DisplayLayout.SelectionOverlayBorderColor = Color.Gold;this.ultraGrid1.DisplayLayout.SelectionOverlayColor = Color.BlueViolet;this.ultraGrid1.DisplayLayout.Override.ActiveAppearancesEnabled = DefaultableBoolean.True;this.ultraGrid1.DisplayLayout.Override.ActiveCellBorderThickness = 3;this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance.BorderColor = Color.Black;* This source code was highlighted with Source Code Highlighter.
Yeah, idea is cool, but implementation is not accurated, and so useless.
Hi Sergio,
Thanks for the sample. I am able to reproduce the issue (as well as the other issue you reported in the other thread) and I have forwarded this to the Infragistics Developer Support team so they can get these looked at.
It appears that these are all basically the same issue. The new ActiveCellBorder and SelectionOverlay features are not properly clipping for the Fixed headers.
For clarity's sake I wrote two samples.
First sample ActiveCellBorderThicknessIncident.
1. Build and Run sample ActiveCellBorderThicknessIncident
2. Select cell
3. Scroll to right
So BorderThickness-defined active cell is overlapped instead of clipped with RowSelector column.
Second sample SelectionOverlayColorIncident.
1. Build and Run sample SelectionOverlayColorIncident
2. Select a number of cells
So if SelectionOverlayColor/SelectionOverlayBorderThickness is defined than rectangle of selection is overlapped instead of clipped with RowSelector column.
That looks like a bug to me. But I am not able to get this to happen. Can you post a small sample project demonstrating this?
The problem is that rectangles (borders) which drawing by following code are OVERLAPPED with RowSelector's zone while horizontal scrolling.
This code is drawing rectangle around selected objects:
this.ultraGrid1.DisplayLayout.SelectionOverlayBorderThickness = 3;this.ultraGrid1.DisplayLayout.SelectionOverlayBorderColor = Color.Gold;this.ultraGrid1.DisplayLayout.SelectionOverlayColor = Color.BlueViolet;This code is drawing rectangle around active objects:
this.ultraGrid1.DisplayLayout.Override.ActiveAppearancesEnabled = DefaultableBoolean.True;this.ultraGrid1.DisplayLayout.Override.ActiveCellBorderThickness = 3;this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance.BorderColor = Color.Black;
Anyway, both rectanges are overlapped instead of clipped with RowSelector's zone while horizontal scrolling.
I do not understand what you are asking here. What's the problem?