One Dimensional Vector
<UserControl x:Class='SilverlightApplication3.MainPage'
xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'
xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml'
xmlns:d='http://schemas.microsoft.com/expression/blend/2008'
xmlns:mc='http://schemas.openxmlformats.org/markup-compatibility/2006'
mc:Ignorable='d'
d:DesignWidth='640' d:DesignHeight='480'>
<Canvas Width="800" Height="600" x:Name="LayoutRoot">
<Canvas.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF00162E" Offset="1"/>
<GradientStop Color="#FF5CAAFF" Offset="0"/>
</LinearGradientBrush>
</Canvas.Background>
<Border Height="600" Width="800" BorderBrush="#FF000000" BorderThickness="1,1,1,1"/>
</Canvas>
</UserControl>
Related examples in the same category