Silverlight Control Contracts Diagram – For Skinning

Sub Heading 4 

After skinning my nth control I got fed up with continually referring to the MS source code via reflector and made up my own diagram with all the control contracts in them. Print it out and stick it up on your work wall, hopefully you guys find it useful. Shoot me a comment of any changes you feel would be beneficial to this diagram.

If you don’t know what a contract is then refer back to my post on “Skinning a button – 4 different ways and counting“. Put simply the standard Silverlight controls wire themselves up to customized skins by finding specifically named storyboard’s and visual elements. At the moment the easiest way to retrieve these contracts is to interrogate the controls source code via reflector, I thought it would be easier to have a document that identified these contracts.

I also plan on maintaining this diagram over time, enjoy 🙂

Low quality JPG – [500k] – ControlContracts.jpg

High quality PNG – [850k] – ControlContracts.png


This builds on top of  my other diagram “Silverlight Control Hierarchy“.

You can also find this article on my new home site at CynergySystems.

cynergy logo 2

13 responses to “Silverlight Control Contracts Diagram – For Skinning

  1. dude, this rocks…. hopefully we can start to build up a simple skins library as time goes on like there is in wpf…

  2. completely agree with you!

    On a side note the tooling for templates in blend for Silverlight is terrible. It’s such a turn off at the moment, I honestly hope Microsoft are going to fix this sooner rather than later.

    I have to create dummy xamls with all my skins then copy and paste into the resources section. It’s good in the sense that It’s gotten me to learn the in’s and outs of templating BUT from a usability perspective TERRIBLE!

  3. Pingback: Silverlight Cream for March 16, 2008 -- #226

  4. Thank you

  5. Pingback: Xamlhouse > Microsoft Silverlight Exploration » Widgets updated to Silverlight 2.0

  6. This rocks … thanks so much for doing this.

  7. wow !!

    Thanks 🙂

  8. Pingback: madhavrao…

  9. hey guys, If Silverlight is next then chk out this hypertext visifire an amazing chart controller powered by silverlight 2 beta 2 offered under open source just for free

  10. My family members every time say that I am killing my time
    here at net, except I know I am getting knowledge all the time by reading such pleasant posts.

  11. My brother recommended I might like this web site.
    He was totally right. This post truly made my day.
    You can not imagine simply how much time I had spent
    for this info! Thanks!

  12. Patience is needed when you want to achieve a success

  13. When you want to give up look at back and then see how far you have climbed to reach your goals

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s