I would like to add a button with a creation filter to the caption area of a grid group, but I can't seem to find the proper UIElement to hook into. Can anybody help me?
I figured out that I have to get the context of the header and see if it is a group header, so now my button is only being added to the group, which is good. However, I need to find a way to prevent drawing the button when the grid scrolls and the group is not visible on the screen. For example, I have two groups and the first one is fixed. When I scroll to the right, the new button keeps painting even though the group is no longer visible on the screen.
Hi,
It's impossible for me to guess what's happening without seeing your code so I know what you are doing. If you are using a CreationFilter, then the filter itself will only fire for an element that actually exists, so if your button it showing up when the header does not exist, then I don't really know what your code is doing that would case that.
BTW... it might help you to get the Infragistics UIElementViewer Utility. This utility will allow you to see the UIElements in the grid.