Code:
<Window x:Class="Window1"  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  Title="Window1" Height="300" Width="300">  <Grid>  <RichTextBox Height="79" Name="RichTextBox1" Width="278" IsDocumentEnabled="False" VerticalAlignment="Top" />  <Button HorizontalAlignment="Right" Margin="0,85,0,0" Name="Button1" Width="75" Height="23" VerticalAlignment="Top">Button</Button>  <TextBox Margin="0,126,0,61" Name="TextBox1" />  <Button Height="23" HorizontalAlignment="Right" Margin="0,0,0,12" Name="Button2" VerticalAlignment="Bottom" Width="75">Button</Button>  </Grid> </Window> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> Key="{xtatic SystemColors.HighlightBrushKey}" x:Key="{xstatic SystemColors.HighlightBrushKey}" <VisualBrush Visual="{Binding ElementName=ImageContainer}" />