jbienz

Skins for WPF and Silverlight

Download this episode

Download Video

Description

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”.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • bradutz01

      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/

    • tkchen7

      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.

    • jbienz

      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!

    • Marat

      Excellent demo!  Could you please do more covering SilverLight. 

    • magicalclick

      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.

    • daveNew​Hampshire

      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.

    • hemant singh

      Very clear presentation and very helpful as well.

    • Doigen

      Excellent ! just what I was looking for.
      But I couldn't find the attached files...

    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.