Pages

Tuesday 17 July 2012

Windows 8 – Overriding Metro app resources

Once you’ve installed Visual Studio and explored the default templates one of the first things you’ll want to do from a design point of view is changing the application brush resources. Usually this will be to alter the teal or purple selection colour (depending if you’re using a Dark or Light theme) on most of the controls. The most common answer to this problem is re-template your control referring to your custom colours.

The simpler approach we’ve used at Marker Metro is the following, we’ll create a Colours.xaml resource dictionary, this’ll contain the Colour and Brush resources specific to the app we’re developing.  We typically reference this resource dictionary from the App.xaml.

Read full article here

No comments:

Post a Comment

Web Informer Button