Login:  Password:    
forgot my password
sign up!
Search: 

Templates - Microsoft Silverlight 5 - Lesson 26 | .net courses

Today, we are taking this a step further by adding templates. With templates we can redefine the shape of a specific control. We will start with a simple square on the screen.

0 0
Course:   Getting Started with Microsoft Silverlight 5

Duration: 16 minutes

Summary: In the previous video we discussed styles. We saw how to change some properties and bundle them in a resource. Today, we are taking this a step further by adding templates. With templates we can redefine the shape of a specific control. We will start with a simple square on the screen. By right-clicking we can make that into a control. Then under the states tab, we have a list of states that we can record. Clicking on one of those states will actually trigger the animation. Any property changes we make at that time we be recorded for that state. We record state changes for MouseOver and Pressed. Also we notice that we have control over the transition duration. We change that to 1 second and preview the effect. Other changes also include manipulating the transition effect and the easing function. We apply these changes as well and we preview their impact on the control. Finally, we view the XAML to see what got generated. We notice that the Visual State Manager is in control.

Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.

Technology Used: Silverlight 5, Visual Studio 2010, Blend 4

Keyword: Silverlight 5, Visual Studio 2010, XAML, Button, Content, Rectangle, Grid, Resources, Setter, Property, Value, States, Animation, template, Normal, MouseOver, Pressed, Disabled.


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...

Add your comment
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


no comments have been posted - be the first!
Help us to improve! Give us your feedback:

Give your note to this post: 1 2 3 4 5 6 7 8 9 10
Is this post helpful? Yes No



[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits






mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2013 - all rights reserved to www.web-03.net