Skins for WPF and Silverlight
- Posted: Jun 22, 2009 at 11:42 AM
- 11,614 Views
- 8 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
In this screencast we'll cover the topics needed to create custom skins for WPF and Silverlight. Topics include Resources, Templates, Styles and Dictionaries, and we'll see how each builds upon the other to provide a very rich and flexible skinning system on these platforms.
The sample project demonstrated in this screencast can be downloaded here.
Part 2 is also available, “Creating Lookless Controls for WPF and Silverlight”.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Hi, nice video regarding cusotm skins, i found this website that they sell skins for WPF and Silverlight you can check it out at: http://www.xamltemplates.net/
This is a great presentation by explaining what are template and style. The key is template is for child element and style is for parent elemetns. And you certainly can have template as part of your style. In addition, you can switch the style by simply by switch into different dictionary files. It is also great to know Blend is a great tool to creaet customized styples.
Cool, thanks for your comments. I too was quite confused about styles vs. templates when I first started working with the system. Blend makes it easy, but it also blurs the lines. For example, when you right-click on a button and choose to edit the template, Blend automatically creates a style with a template in it. This makes sense because templates are normally applied using styles and styles allow you to change attributes on the parent. But it isn't really clear why you said you wanted to edit a template and a style was created as well.
Thanks for watching!
Excellent demo! Could you please do more covering SilverLight.
Thanks for the nice screencast. It clears up a lot of my confusions. I used to define everything in template because I am not really sure what other two are good for. Now I see why we want them separate and how to use the properly. Thank you.
Now that is how to deliver a clear presentation on a topic that nobody seems to be able to explain clearly with words. Thank you, sir.
Very clear presentation and very helpful as well.
Excellent ! just what I was looking for.
But I couldn't find the attached files...
Remove this comment
Remove this thread
close