O'Reilly logo

Silverlight 4 User Interface Cookbook by Vibor Cipan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating menu drop-down

Later in this chapter, one of the recipes explains how to create a split button from the scratch. This recipe is fairly similar to that one, and I will show you how to create a simple menu button control.

A typical menu button control and associated drop-down menu is shown in the following screenshot, taken from Microsoft Dynamics AX application:

Creating menu drop-down

Getting ready

Start your Expression Blend 4 and then select New project... From the dialog that appears select WPF and then WPF Application, make sure that Language is set to C# and Version is 4.0. At the end hit OK.

How to do it...

  1. After you have created your new project, under the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required