CoolMenu: A Silverlight Menu Control

imageI thought it would be cool to try building a reusable container control so I came up with CoolMenu.  You really have to try this one out to get the full experience, a screen shot just doesn't do it justice.  CoolMenu is a Silverlight container control that gives you a nice wave-like effect as you move your mouse over the menu items.  Clicking a menu item causes the item to bounce.

You could probably use this control in many scenarios.  Other than the obvious menu navigation scenario, some potential possibilities include:

  • Card Game - Show your current hand
  • Photo Gallery  - Show the pictures in the gallery and click to select the picture.
  • Toolbar - Activate a tool in your application or a weapon in a game.

Feel free to use this in your applications, I've provided the source code and a live demo below.  Enjoy!

Live Demo (RC0 Compatible)

Download Source Code (Beta 2)

Download Source Code (RC0)


Feedback

# Silverlight Cream for August 21, 2008 -- #353

Gravatar Page Brooks with CoolMenu and Custom Collections for Controls, Bill Reiss on Calling WCF on local server 8/22/2008 2:43 AM | Community Blogs

# re: CoolMenu: A Silverlight Menu Control

Gravatar Nice control man! 8/22/2008 8:23 AM | Chris Reeder

# re: CoolMenu: A Silverlight Menu Control

Gravatar Wow, I love how it animates! Great work! 8/22/2008 9:22 AM | Anna

# re: CoolMenu: A Silverlight Menu Control

Gravatar Great work, this looks great! 8/22/2008 1:17 PM | Eman

# re: CoolMenu: A Silverlight Menu Control

Gravatar This is amazing! Thanks for posting this!!! 8/22/2008 4:21 PM | Rob

# re: CoolMenu: A Silverlight Menu Control

Gravatar Nice "fisheye" style control. I was designing a similar one before my holidays and was expecting to resume it when I end them in 3 weeks. I guess there won't be need for it now, heh.

Thanks for your work. 8/24/2008 9:08 AM | Hector

# re: CoolMenu: A Silverlight Menu Control

Gravatar Very elegant. Congratulations 8/25/2008 7:05 PM | Greg Farquhar

# re: CoolMenu: A Silverlight Menu Control

Gravatar To get the control working in Silverlight 2 RC0, just move the generic.xaml file to a subfolder named "themes".

From the Breaking Changes document obtained here:
http://silverlight.net/GetStarted/sl2rc0.aspx

"Platform looks for generic.xaml as a resource at themes/generic.xaml

Summary
The platform now looks for the generic.xaml resource dictionary as an assembly resource in the "themes" directory rather than the root directory.

Fix Required
Move your generic.xaml resource underneath the "themes" folder under ControlLib in Solutions Explorer in Visual Studio."

Thanks again for this wonderful control.
9/26/2008 10:23 AM | Denho Geldenhuys

# re: CoolMenu: A Silverlight Menu Control

Gravatar Hi,

I installed SilverLight 2.0 rc0 and I can't view your CoolMenu which is on
SL 2.0 beta 2.

Is an upgrade in the works ?

Regards, LA Guy 9/27/2008 12:44 PM | LA Guy

# re: CoolMenu: A Silverlight Menu Control and RC0

Gravatar Hi!!, this great menu is not working with RC0 any workaround???

thanks!!! 9/27/2008 1:13 PM | scgm11

# re: CoolMenu: A Silverlight Menu Control

Gravatar The control has been updated for RC0. Enjoy! 10/12/2008 8:49 PM | pbrooks

# re: CoolMenu: A Silverlight Menu Control

Gravatar it' doesn't works with the new blend version 2.1.1760.0 :( 10/20/2008 5:54 AM | Jey

# re: CoolMenu: A Silverlight Menu Control

Gravatar it doesn't work with the new version :'( 10/20/2008 7:57 AM | jey

Comments have been closed on this topic.