You could get the Rect of the UIElement for the header. Check the Infragistics KB and do a search for "ElementFromPoint", this will bring you to lots of articles that deal with UIElements. You might also want to get the Infragistics UIElementViewer Utility
Thanks a lot..mike.. i tried adding in a textbox Ui to the header ui element child collections .. but was not able to .. .so jus dropped itr..
now i am tryin to bring in a dialog box ,quite right into the place of the Columns header where it was clicked
i am using Groupby and rowperisland..for header placement ...
so whenever user tries to click on the particular header from any rowisland ,ie outlook viewstyle,i want to pop up the dialog box exactly to that spot...
suggestions plz.. how to get th Header key value when it is clicked..
i tried to get it thru the before sotrchange event but not able to figure it out .. can anyone help in this regard
thanks in advance
SortChange is not a bad idea. But then you will end up sorting the column, which probably isn't what you want.
I would probably use ElementFromPoint in the MouseDown event of the grid and try to get a Column Header. There are KB articles on how to identify what object in the grid was clicked based on the mouse point:
Knowledge Base Results - ElementFromPoint
HOWTO:UltraWinGrid Mouse Position and Column Identification