Working with Resources and Styles - Day 3 - Part 2

Download this episode

Download Video


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



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    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

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.