Free Online Courses for Software Developers - MrBool
× Please, log in to give us a feedback. Click here to login
×

You must be logged to download. Click here to login

×

MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

×

MrBool is totally free and you can help us to help the Developers Community around the world

Yes, I'd like to help the MrBool and the Developers Community before download

No, I'd like to download without make the donation

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.

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.



Senior Software Engineer with experience in C#, JavaScript, jQuery, Knockout JS, Kendo UI, HTML5, and SQL Server. Ayad has more than 20 years experience in technical training and teaching. Contributor to MrBool for about 7 years.

What did you think of this post?
Services
[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
[Close]
You must be logged to download.

Click here to login