Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors


Command links have found their way around in Windows Vista and they are one of the key parts of the Windows 7 user interface as well. As such, they are also finding their way around even on the web. As a user interface element, or control for that matter, command links are used in situations where users can select a single response to a main instruction and move on to the next step in a task or process. They are simple, clean, and lightweight. They contain a main instruction, icon and optional description.

With the release of Silverlight 3 and Expression Blend 3, building rich user experiences and even new, customized, controls is a straightforward process. However, it does require some basic understanding of the fundamental ideas and concepts. In this article I’ll show you how to create a command link control in Expression Blend 3 for use in your Silverlight 3 projects.

Getting started

Once you’ve installed Expression Blend 3, start a new Silverlight 3 project. After you have created your new project, under the Objects and Timeline pane you will see UserControl and LayoutRoot. LayoutRoot is a Grid control hosted in a UserControl.

Our basic idea here is to build a custom control and expose a number of properties. This means that our command link control will be completely reusable within your Silverlight project and very flexible for even further customizations.

from        more here

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • MisterWong
  • Y!GG
  • Webnews
  • Digg
  • StumbleUpon
  • Reddit
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • XING

Leave a Reply

Your email address will not be published. Required fields are marked *