I am developing an application in WPF using C#. I am putting Images in a WrapPanel and showing inside a Grid with one more Border and using images in Buttons also. Problem i
Use UseLayoutRounding="True" property on the parent element if image is used as a content. In your case it is the Button.