Hi,
I use a ribbon with "Office 2007 UI Compatibilty" set to false and in that ribbon I use a PopupGallery.
When I move the mouse over an item in the popup gallery it doesn't highlight that item. Hot tracking doesn't work.
How do I enable hot tracking or how can I do it myself?
I guess I need to implement a handler for GalleryToolActiveItemChange and draw it myself, but how?
Any ideas?
Regards
Michael
Hey Atanas,
it works now with the above mentioned "workaround". But I still don't know why it behaves like this.
Thanks
MIchael
Hello Michael,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.
This is not a bug. The reason for this strange behavior is the style of the ribbon. If you set the style to ‘Default’ for example you’ll see both the background and the border color. So, something in the style causes the ribbon to behave like this.
I hope that this information will help you.
Please let me know if you have any further questions.
Hi Atanas,
thanks for your help. With the help of your modified style I now found out that it has something to do with the border.
I changed your example so that it doesn't use a resource but a back-color for the Hot_tracked state. Only when you now additionally specify a border color in the hot-tracked state, no matter what color, the back-color is drawn. It doesn't matter what color you use for the border because it is never shown, but you need to specify a border color in order to sow the hot-tracked state. Please see my attached modified example.
This seems to be a bug (?)
Thank you very much for modifying my sample.
What you could do in order to have a hot tracking on the PopupGalleryItem is to add some resource for the HotTracked state of the PopupGalleryItem.
I’ve implemented this suggestion in the sample, and you could run and evaluate it, please see attached zip.