Tuesday, February 21, 2012

PhoneAccentBrush in Code

obj.BorderBrush = (Brush) App.Current.Resources["PhoneAccentBrush"];
Simple it is.

some controls of the phontext has the same way to pick up static resources
image

No comments:

 
Locations of visitors to this page