This project is read-only.

Can't change CoolMenuItem Height

Feb 24, 2009 at 5:19 AM
Hi,
I can't manage to increase the size of the menu.
I tried to use the Height property of the CoolMenu Items but it doesn't seem to affect the size of the Content of the menu Item.
Is there any example I can try?
Thanks
Coordinator
Feb 24, 2009 at 1:17 PM
Hello,
Try adjusting the MaxItemHeight property on the DefaultCoolMenuBehavior property.
Mar 4, 2009 at 3:50 AM
I tried the property. But it seems that the height of the image in the ItemMenu is set to 100.
this is the code.
any advise?

SilverlightContrib.Controls.

DefaultCoolMenuBehavior myDefaultCoolMenuBehavior = new SilverlightContrib.Controls.DefaultCoolMenuBehavior();

 

 

myDefaultCoolMenuBehavior.MaxItemHeight = 200;

 

 

menu.Behavior = myDefaultCoolMenuBehavior;

Many Thanks,

Mar 4, 2009 at 3:58 AM
Just Ignore the last message.
It is working fine, many thanks.