<Style x:Key="WindowStyle" TargetType="{x:Type Window}">
<Setter Property="Background" Value="{StaticResource Gray1}" />
</Style>
I am trying to change the background of the titlebar in my wpf application using style in the app resource. The above style is not working. Please help.