If I zoom large enough in xamlpadx (500%) I see while lines around the inside of the border. In my app this even happens at normal zoom level in some controls.
Why is that and more important, what can I do about it?
This is my XAML code:
<Border Background="#000000" BorderBrush="#000000" BorderThickness="4" CornerRadius="4">
<StackPanel>
</StackPanel>
</Border>
I removed everything until I was sure that no padding/margin/border is involved in the flawed display.
EDIT 2: I shouldn't have accepted the answer so soon. I noticed that in same cases the error is as before, although I used SnapsToDevicePixels and set the interior color of the control to the same color as the border. I hope microsoft will fix this soon!