Here is my XAML
<Border Grid.Column="1" BorderBrush="Black" Margin="5">
<Border.Background>
<LinearGradientBrush EndPoint=".5,1" StartPoint=".5,0">
<GradientStop Color="#FFFFFFFF" Offset="0"/>
<GradientStop Color="#FFf3f3f3" Offset="0.48"/>
<GradientStop Color="#FFededed" Offset="0.51"/>
<GradientStop Color="#FFFFFFFF" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
I can see border at design time but it doesn’t show at run-time. Why?


Whats wrong with it?!
You need to set the
BorderThickness.