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

Command buttons

This recipe is a little bit different and the only one where I am deliberately modifying our "Getting ready—How to do it—How it works" scheme.

Adding buttons in WPF or Silverlight is really a very simple procedure—you go to the Asset pane in your Expression Blend library and draw a command button on the artboard.

However, buttons are widespread and one can argue that they are most common and most used element of the user interfaces—both on desktop and web environments. Therefore, this whole recipe will mostly be based on guidelines and design suggestions of when and how to properly use buttons in your applications.

Getting ready

Start your Expression Blend 4 and then select New project... From the dialog that appears selectWPF and ...

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