Working with Resources and Styles - Day 3 - Part 2

Download this episode

Download Video

Description

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

Embed

Format

Available formats for this video:

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

    More episodes in this series

    Related episodes

    The Discussion

    • User profile image
      Jonno

      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
      Mintydog

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

    • User profile image
      Rao2

      Very Nice approach. Thank you very much.

    • User profile image
      Rao2

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

    • User profile image
      Shawn

      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
      minompi

      Fantastic! Thanks

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.