Pages

8/24/10

How to define resource programmatically?

When at Windows phone application you'd like to define resource programmatically, you should this way:

myBorder.BorderBrush = (SolidColorBrush)App.Current.Resources["PhoneAccentBrush"],

No comments:

Post a Comment