Working with Resources and Styles - Day 3 - Part 2

Sign in to queue

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

Download

Download this episode

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

Add Your 2 Cents