I don't know why in the middle of my grid is this squard (see screenshot).
How can I disable it or does anyone know why the square is drawn by the UltraGrid?Have the square some functionality?
Michael
Hi Michael,
I've never seen that before. It doesn't look like any intentional part of the grid.
Perhaps it's a control that is on your form and it appearing above the grid?
Are you using a DrawFilter or CreationFilter in your grid?
Hi Mike,I don't use DrawFilter or CreationFilter in my grid. But I also discovered the same phenomenon in your application (AppStylist ... see at the screenshot) when i modify a style.
The mysterious square is also visible on other computers. You can find it Normally when you move the mouse over the middle of the grid and highlight the row with hottracking.
I tracked this down. It looks like your style is applying a resource to the GridRow in the Active and HotTracked states with an Image. It doesn't really make sense to apply an Image to a row, because the cells cover the row, anyway. It looks like the image is just centered in the middle of the row. I'm not sure why it's only appearing in the middle and crossing rows, but I suspect there's some other setting causing this. Perhaps the origin of the image is being set to center on the parent.
Anyway, this might still be a bug, but most likely it's just a hard-to-understand consequence of the settings in the isl. You can just remove the resource being applied to the UIRole, since it's not doing anything useful. :)
Much to my amazement, I am able to reproduce the issue with the isl you provided. You should Submit an incident to Infragistics Developer Support so they can check this out.
Sorry, I was on vacation. Here is the style that I'm using.
Michael,
What ISL style are you using? I wasn't able to see this square on the Grid canvas using a variety of styles.
-Matt