How can I get the border in WPF to use a plain black rectangle? It always appears to have thicker bottom and left lines which I guess is a shadow effect even though I have no effects applied. I don’t want to use a rectangle as I am using this to apply a border around a grid containing controls.
Share
Try setting
SnapsToDevicePixels="true". Like this:For me, this removed the varying thickness of the borders.