You are here
Home > Programming > LightSwitch Themes – A Change Is As Good As A Holiday

LightSwitch Themes – A Change Is As Good As A Holiday

Fallback Image

lightswitch themesLightSwitch Themes – One of the most pivotal moments for me during my LightSwitch adventures were themes. If you have been following the previous articles, you will know that LightSwitch brings exceptional ease of use to your development repertoire.

One of the most confining areas of an application is the look and feel. Once you have created an app, it becomes extremely difficult to change the look and feel without being an extremely painful experience. With LightSwitch Themes, this is no longer a problem.¬†The process to follow to change a LightSwitch Theme isn’t immediately obvious. But this doesn’t make the process any more difficult to perform.

LightSwitch Themes – Change With Ease

Changing LightSwitch Themes is probably one of the easiest things to do.

extensions and upgrades

In Visual Studio 2012, access the Extensions and Updates menu from the Tools menu. (Note that you can also download a theme and install it by clicking on the vsix file.)

lightswitch metro theme

Searching for the LightSwitch Metro Theme will allow you to download and install it quite easily after accepting the license agreement.

license agreement

lightswitch properties

Head on over to the Project menu and select the project’s properties.

enable extensions

Under the Extensions tab, check the ‘LightSwitch Metro Theme’ and any other themes you want to enable.

select metro theme

Change the tab to the General Properties tab and select the theme you want to enable from the Theme drop down. Click on the save button and then run your application.

lightswitch metro theme

You will see the selected LightSwitch Theme immediately applied to your application.

LightSwitch Themes vs blue theme

Applying another theme (In the example above, the VS Dark Blue Theme) will once again change your application easily without you doing any of the heavy lifting. LightSwitch Themes are incredibly easy to change and apply to your application.

Image Reference

Dirk Strauss
Dirk is a Software Developer from South Africa. He loves all things Technology and is slightly addicted to Jimi Hendrix. Apart from writing code, he also enjoys authoring books and articles. "I love sharing knowledge and connecting with people from around the world. It's the diversity that makes life so beautiful." Dirk feels very strongly that pizza is simply not complete without Tabasco, that you can never have too much garlic, and that cooking the perfect steak is an art he has almost mastered.

Similar Articles