Is the ViewBox the best thing to use to achieve resolution independence in WPF?

前端 未结 2 413

I\'m developing an application that needs to be resolution independent. The application will always be full screen so I have to design my UI so that the monitor resolution w

2条回答
  •  迷失自我
    2021-01-02 10:42

    WPF has resolution independence at its core. Its default measurement is in Device Independent Pixels (DIPs), not pixels. Can you explain how this is not working for you, and perhaps provide a very simple example of XAML that is not scaling correctly?

提交回复
热议问题