<Grid.Resources> <LinearGradientBrush x:Name="TitleBrush" StartPoint="1,1" EndPoint="1,0"> <GradientStop Color="#D3D3D3" Offset="0.0"></GradientStop> <GradientStop Color="White" Offset="1.0"></GradientStop> </LinearGradientBrush> <Grid.Resources>