I'm trying to determine which GalleryToolItem the mouse is hovering over from the ToolBarsManager MouseEnterEvent. I've been able to get to the UIElement that is Infragistics.Win.UltraWinToolbars.PopupGalleryItemUIElement and its cooresponding System.Drawing.Point but I don't see any methods for determining the galleryToolItem from that information.
Is there a better way to find the item or am I missing something?
Thanks,
JL
Please disregard...found the GalleryToolActiveItemChange event. Works great!
Well, I was wrong.
The ActiveItemChange event does give me the correct item, but unfortunately I need more.
I'm trying to determine the mouse pointer location when hovering over the ActiveItem with respect to the form it's contained in. What I'm attempting is to provide my own balloon style tooltip when the mouse hovers over the GalleryItem.
I tried using the GetUiElement in the GalleryToolActiveItemChange event and then walk up the UIElement parent chain. What I got was:
Once I got to the last entry above, there was no more parent property set. Obviously this won't give me what I need.
If anyone has a suggestion or solution, I would be most grateful.