Feb 18, 2011

Rich Controls and Themes in Silverlight Toolkit

Rich Controls in Silverlight Toolkit
Silverlight Toolkit is a Microsoft project offering many rich controls, components, and utilities that can help us to enhance our Silverlight UI (User Interface). As we want to create a very attractive UI for SharePoint, it is convenient to get familiar with its features.
Here are steps to see the controls in action and to change the values for many of their properties.

1.  Select Start | All Programs | Microsoft Silverlight 4 Toolkit April 2010 | Toolkit Samples and your default web browser will display a web page with a Silverlight application displaying a list of the controls organized in ten categories as follows:
§  Controls
§  Data
§  DataForm
§  Data Input
§  DataVisualization
§  Input
§  Layout
§  Navigation
§  Theming
§  Toolkit

2.  Click on a control name under the desired category and the right panel will display the control with different values assigned for its properties, creating diverse instances of the control. For example, the following screenshot shows many instances of the Rating control under the Input category.

      Click on the buttons shown at the bottom of the web page and you will be able to see both the XAML and the C# code used to create the sample for the control

Themes in Silverlight
Themes are:
§  Bubble Creme
§  Bureau Black
§  Bureau Blue
§  Expression Dark
§  Expression Light
§  Rainier Purple
§  Rainier Orange
§  Shiny Blue
§  Shiny Red
§  Twilight Blue
§  Whistler Blue
Click on Theme Browser under the Theming category and you will be able to select one of the themes shown in the previous list to preview the look-and-feel of many controls.

Silverlight Toolkit includes 11 themes that allow us to change and improve the overall look-and-feel for our   Silverlight UI.

No comments:

Post a Comment