
Vijay Kumar Vegulla
Top achievements
Rank 1
Vijay Kumar Vegulla
asked on 01 Mar 2011, 10:40 AM
Dear All,
Thanks for the support you people have been giving in solving my puzzles. I have a small problem with the ribbon bar start menu area.
In that I have placed a menu item with 5 t0 8 sub items in it. There my problem arises. This sub items panel is bigger than my actual area. Please see the attached screen shot to understand better.
Thanks in advance.
Vijay
Thanks for the support you people have been giving in solving my puzzles. I have a small problem with the ribbon bar start menu area.
In that I have placed a menu item with 5 t0 8 sub items in it. There my problem arises. This sub items panel is bigger than my actual area. Please see the attached screen shot to understand better.
Thanks in advance.
Vijay
4 Answers, 1 is accepted
0

Emanuel Varga
Top achievements
Rank 1
answered on 01 Mar 2011, 01:38 PM
Hello Vijay,
That is a different context menu, the items in the right are not being replaced by the items in the submenu when you are hovering with the mouse, if you would like to "fake" this kind of behavior you should control the popup size when hovering over the menu item.
If you want to do this just let me know and i will try to provide an example on how to do this.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
Telerik WinForms MVP
That is a different context menu, the items in the right are not being replaced by the items in the submenu when you are hovering with the mouse, if you would like to "fake" this kind of behavior you should control the popup size when hovering over the menu item.
If you want to do this just let me know and i will try to provide an example on how to do this.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
Telerik WinForms MVP
0

Vijay Kumar Vegulla
Top achievements
Rank 1
answered on 02 Mar 2011, 10:03 AM
Hi Emanuel Varga,
Yes I want to reduce the width of the popup context menu to look like not exceeding the start menu width. Please give me the example. I am looking for it.
Thank you
Yes I want to reduce the width of the popup context menu to look like not exceeding the start menu width. Please give me the example. I am looking for it.
Thank you
0
Accepted

Emanuel Varga
Top achievements
Rank 1
answered on 02 Mar 2011, 10:21 AM
Hello again Vijay,
Please take a look at the following example:
It's a very basic example but it will achieve the desired behavior.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
Telerik WinForms MVP
Please take a look at the following example:
foreach
(RadMenuItem item
in
radRibbonBar1.StartMenuItems)
{
item.DropDown.MaximumSize =
new
Size(300, 0);
}
It's a very basic example but it will achieve the desired behavior.
Hope this helps, if you have any other questions or comments, please let me know,
Best Regards,
Emanuel Varga
Telerik WinForms MVP
0

Vijay Kumar Vegulla
Top achievements
Rank 1
answered on 03 Mar 2011, 04:35 PM
Hi,
It hasn't worked Emanuel Varga. It is throwing an object reference exception. What might be the problem. Please let me know.
Thanks
vijay
It hasn't worked Emanuel Varga. It is throwing an object reference exception. What might be the problem. Please let me know.
Thanks
vijay