Silverlight 2 Style Resources are a Big Headache

Silverlight 2 forces you to store your styles in the app.xaml for each project.  This confuses Blend when you have a multiple project solution and means you have to duplicate styles across the projects.

Thankfully Silverlight 3 solves this by allowing style to be saved in a separate file.

I’ll soon be working on a big Silverlight 3 project and will get the chance to see if it’s a good system.  However it will still leave some problems.

For example button styles that use a content presenter will not be able to access properties of the items within.  For example making the text change colour or bold on mouse over.

We’ll see how it goes!

  1. No trackbacks yet.

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

%d bloggers like this: