Many controls in WPF have this pixel binding of the device (as described on MSDN ). I simply often forget to install it, and then later discover that because of this, something sometimes seems strange.
What do people use to solve this problem?
The SnapsToDevicePixels property is inherited through the element tree.
I always installed SnapsToDevicePixels="True"for each window, and all children inherit value.
SnapsToDevicePixels="True"
(But I have no assumptions on how to remember it for each window.)
SnapsToDevicePixels = "True" OxyPlot, ... . OxyPlot PlotView SnapToDevicePixels .
Source: https://habr.com/ru/post/1734630/More articles:Reading EML files from the Windows SMTP service. Any reason not to use StreamReader? - streamКак я могу сделать баннер в QT, например, баннер новостей CNN/FOX? - c++Using Ajax and jQuery to log in a user through a PHP script, is this safe? - jqueryHow to skip overriding function of base class - c #Clickonce: setup.exe opens the .application file in a browser. Normal? - installerHtml.TextArea To write a value ...? (ASP.NET MVC 2.0) - asp.net-mvcArgumentNullException when uninstalling an application - c #Can Active Directory authenticate a user with an MD5 hashed password - authenticationThe base Fluent NHibernate program compiles and runs, but nothing is saved or loaded from the database - nhibernateNinject 2, Logging and WebForms - ninjectAll Articles