Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
505
Hiding the icon area in the menu
posted

Like many others I've been looking for a solution to this problem and I've decided to try Kim Ho's suggestion in
http://es.infragistics.com/community/forums/p/25649/95887.aspx

This has worked reasonably well...

... except for a few issues:

1. The fly-out menu is not stable. If move the mouse back and forth over the boundary between "three" and "A", you'll find a spot where the fly-out menu starts flickering. Sometimes only once, but with some trial and error you'll get it to flicker constantly. There are other such spots, too. How can we avoid this?

2. The shadow is not coming along. For use with the UltraDropDownButton I will hide it, but for a complete solution there should be a way to show it correctly.

3. How can I find out whether a menu has submenus (i.e. needs the space for the right-pointing arrows) or not -- in the CreationFilter. IOW, how can I tell in the CreationFilter whether I'm looking at the pull-down menu (or menu item) or at a fly-out, so that I can adjust for the absence of the arrows?

4. I've found the measurements that I used in my CreationFilter by trial and error, and they're not pixels. What's their unit, and is there a way to retrieve the magic numbers programmatically?

5. Bonus question: Is there a way to make "A" the default menu item (i.e. show it in bold and select it, when the user clicks on "three")?

TIA,
Hans