Rank: Member Groups: Member
Joined: 8/4/2009 Posts: 16
|
Hi, I'm using this control on the left side, like Outlook style menu, I have 5 menus each with a different number of submenus, and I want no matter the number of submenus, the object always have the same height, how can I accomplish this? because the Slide menu resize itself depending on the number of the submenu items.
Thanks in advance and regards
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You can either set the slide menu's SlidePaneHeight to a large value, so that it always have enough room for all the sub items; Or set the slide menu's EnableScrolling to true, so that when the menu does not have enough room, it will display two scroll items at the top/bottom of the sub menu and allow you to scroll. You will also need to set the sub menu's Height property to use this feature. Here is a working example: http://demo.essentialobjects.com/Default.aspx?path=Menu\_i1\_i2The sample is a Menu, not a SlideMenu, but all the properties are the same. Thanks!
|
Rank: Member Groups: Member
Joined: 8/4/2009 Posts: 16
|
Thank you very much, that was exactly what I was looking for.
Regards
|