I'm trying to get some color values from the BluePrint.xaml file, I'm at a point where the file says:
<LinearGradientBrush po:Freeze="true" x:Key="TabItemNormalBackground" StartPoint="0.5,0" EndPoint="0.5,1">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#403f45" Offset="0"/>
<GradientStop Color="#403f45" Offset="0.3"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
I've tried using:
LinearGradientBrush TabItemNormalBackground = (LinearGradientBrush)Application.Current.Resources["TabItemNormalBackground"];
SolidColorBrush TabItemNormalBackground = (SolidColorBrush)Application.Current.Resources["TabItemNormalBackground/LinearGradientBrush.GradientStops/GradientStop"];
<LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0.2">
<LinearGradientBrush.GradientStops>
<GradientStop Color="#FFFFFFFF" Offset="0" />
<GradientStop Color="#FFFFFFFF" Offset="1" />
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
thanks!

Comment