tags:

views:

35

answers:

1

I want to have rectangle that and it should have stroke only on left and right side(not on upper and lower side). How can I do it ?

+2  A: 

You can't - a rectangle only has a single stroke thickness. A Border, though, uses a thickness structure that can have different thickness on each side:

<Border BorderThickness="5,0,5,0" BorderBrush="Black" />
Dan Puzey
Thanks, that was simple. Answered.
drasto