Hey Folks -
I have been unsuccessful in getting borders to draw around specific rows within a hierarchical grid based on a specific row value. I am needing to draw different border types around individual rows, so i assumed that I would be working with the UIElement. But as I have learned and also confirmed through posts, that the UIElement is not available at a row level. I have also tried a DrawFilter, and that ends up being a complete mess. So....
My question is "How do you draw different types of borders around individual rows within a hierarchical grid display based on some row value?"
I have really looked through the forums and even tried Infragistics Support (2 weeks and running now), but I am just not making progress on this issue like I need to. So if anyone has solved this problem before or has seen a post, please let me know.
Super Big Thanks! ~Eric
Hello Eric,
I looked up your case and noticed that the Developer Support Engineer it was assigned to gave you some suggestions. I'm posting them here so other users with the same question can find them. Did any of them help you?
-- Begin pasted content --
The rectangle that we created is a property of the UIElement. It is not itself a UIElement, which does have Border styles. What we did was draw a rectangle over top of the cells.
There are some properties of the Rectangle that you might be able to exploit. And the borderPen would allow you to customize the border style.
Here are some links that should provide some background.
http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Infragistics2.Win.v10.2~Infragistics.Win.UIElement_members.html
http://help.infragistics.com/NetAdvantage/WinForms/2010.2/CLR2.0/?page=Infragistics2.Win.v10.2~Infragistics.Win.UIElementDrawParams_members.html
Dave -
Thanks for including that information for other users to reference as well. Sadly, the answer is no, I could not get it to work in the hierarchical display, which is odd considering that it should make no difference if it is a top level row versus a 4th level. But regardless of the levels, I could never get any advanced borders drawn.
If you would follow those links listed above, you see they reference the UIElement, which is NOT available to me at the row level. So I am probably missing something simple and obvious. Unfortunately at this point, I am understanding (but hopefully I am wrong) that Infragistics suggests that I use the UIElement but the UIElement is not available to me at the row level, so the suggestion is not helpful based on what I am understanding.
So I have tossed it to the forums with a hope that whatever I am missing can be more easily pointed out. I am seriously bummed that I could make no progress with any other support approach :(
-Eric