I want to have rectangle that should have stroke only on left and right side(not on upper and lower side). How can I do it ?
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" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With