Using Static Resources in Code
Brush def = new SolidColorBrush((Color)Application.Current.Resources["CVinGrey"]); FilenamLabel.Foreground = def;