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
2010-06-05 14:48:29
Thanks, that was simple. Answered.
drasto
2010-06-05 15:08:05