Is there way to create a border that is only on the top, left, and right sides?
Yes:
<Border BorderThickness="1 1 1 0" BorderBrush="Black"/>
Same as goes for Margin, Padding etc.
And just for fun, to do so in code:
var b = new Border(); b.BorderThickness = new Thickness{Top=1, Bottom=0, Left=1, Right=1};
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