CustomWindow DPI issue in when connected to external monitor in WPF

  • Thread starter Thread starter Kumaran619
  • Start date Start date
K

Kumaran619

Guest
I am developing the custom window in WPF application. But the combobox in that window doesn't shown properly in the required location when the DPI is 125 and above.

Sample : customwindowdpiissue.zip

Replication steps:

1. Connect one external monitor with your laptop or PC

2. Change the DPI setting of your laptop of PC to 125% or above and the external monitor DPI settings can be 100% or above.

3. Run the attached sample and click the button in that window, it will opens the CustomWindow.

4. Drag that CustomWindow to the secondary monitor and open the combobox drop down.

Observed result:

The popup is opened at incorrect location in that window as shown in above image.

Expected result:

The popup should be opened in correct location.




R.Senthil

Continue reading...
 
Back
Top