How can I define DPI Awareness of a fixed size WPF app?

  dpi, user-interface, windows, wpf

I have a WPF application with fixed Height and Width. But from dpi scaling 150% onwards, the window get so magnified that it starts to get cutoff after 200%. I feel when scaling is increased the window size should not be increasing so much but the content inside should be magnified. Currently the dpi awareness of the app is set to per monitor.

How can I proportionally size the window and its contents according to the dpi scaling?

Source: Windows Questions