Working with Resources and Styles - Day 3 - Part 2

Play Working with Resources and Styles - Day 3 - Part 2
Sign in to queue


In this video, Bob explains how to define reusable definitions for brushes (color, gradients, and images) throughout either a single page or the entire site, as well as how to combine collections of name / value pairs for a given control in order to give your application a consistent look and feel.

Download the source code in c#

Download the source code in VB.Net



Right click to download this episode

The Discussion

  • User profile image

    Everything works right up to running the app at the very end (with the style in the App.xaml page). At this point the app begins but then throws up "XAMLParseException occurred". It says that the static resource I created (JonnosStyle) is out of range. Any idea why this is?

  • User profile image

    Good video. Nice way to keep the colour scheme of your programs consistant.

  • User profile image

    Very Nice approach. Thank you very much.

  • User profile image

    @Jonno:In the current release theme resources are not stored under App.xaml.

  • User profile image

    After changing the background and accent color, the page arrow "disappears". It's color does not change with the change of the background color and therefore it "disappears". How do you manage the color of the page arrow so that it does not "disappear" when the background color is chaged from dark to light?

  • User profile image

    Fantastic! Thanks

Add Your 2 Cents