Hi,
Following default behavior is seen on ContextMenu:
1) We have a contextmenu which is more than half the size of screen.
2) When we launch it on an item which is vertically at center of the screen, the contextmenu starts from that point and because the contextmenu is not able to fit in the space provided it shows us an expander button.
What we would like here is that in the case when default expander shows up, our context menu shifts that much upward/downward that there would be no need to get the default expander button.
Basically, we would like that the default expander is never shown, as we are writing some automation scripts and we then have to write code to check for presence of expander, and clicking it to get to menu items which got clipped off.
Please suggest on how to achieve this.
Thanks and Regards,
Balaram
Following default behavior is seen on ContextMenu:
1) We have a contextmenu which is more than half the size of screen.
2) When we launch it on an item which is vertically at center of the screen, the contextmenu starts from that point and because the contextmenu is not able to fit in the space provided it shows us an expander button.
What we would like here is that in the case when default expander shows up, our context menu shifts that much upward/downward that there would be no need to get the default expander button.
Basically, we would like that the default expander is never shown, as we are writing some automation scripts and we then have to write code to check for presence of expander, and clicking it to get to menu items which got clipped off.
Please suggest on how to achieve this.
Thanks and Regards,
Balaram