I'm currently struggling with the DPI awareness of Nevron components. For WinForms applications one can set the process to be DPI aware which leads to the fact, that controls are painted correctly regardless if the user has a DPI Setting of 100, 120, 150 or other values. This can be achieved using the following native method via PInvoke:
private static extern bool SetProcessDPIAware();
Unfortunately this leads to the fact, that the WinForms components are drawn correctly, the Nevron components on the other side are obviously not affected by this. and are streched and becoming very large. Is there any property that I can set on these controls or some other approach to make the Nevron components behave in the same way as the WinForms controls do?
Thanks and best regards,