Reputation: 937
Im not able to under stand why there is a black Border in the end. Below Cancel button. im not sure why this kind of behavior is occurring.as im not able to pin point my problem.(I did check my code many times) im attach that solution it self please take a look. thanks
Upvotes: 1
Views: 119
Reputation: 17007
Without pixel snapping, anti-aliased rendered lines may appear blurry if the edge falls between device pixels.
I have had the same problem in the past. I solved it by adding SnapsToDevicePixels="True"
to the application's root element: SnapsToDevicePixels
mc:Ignorable="d" WindowStyle="None" ResizeMode="NoResize" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterScreen"
SnapsToDevicePixels="True"
Upvotes: 2