WPF Window size limitation

Bruce Kingsley 1 Reputation point
2020-06-23T13:38:15.917+00:00

There seems to be some limit to the size of a WPF window and the monitor resolution I’d like to understand. My application creates a window 4320 x 7680. The computer has a graphics adapter with (4) outputs connected to (4) very large 4K LCD monitors in the Portrait orientation mounted side by side on our factory wall.

When Windows is set with a display resolution of 1080 (100% scaling), everything works. If the settings are set to a resolution of 4K (with scaling set to 200%), the application launches, but no graphics are shown and no exceptions are thrown. If I reduce the window size to 3240 x 7680, or just unplug the forth monitor the application works. So clearly there is a limit to how much of widow actually can be rendered. Even if I make the window 8000 x 7680, the application works as long as only three 4K monitors are connected.

Does anyone understand this limit and if there means to work around it?

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,784 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce Kingsley 1 Reputation point
    2020-07-07T00:03:19.507+00:00

    Hi Charles, Framework 4.6 on Windows 10 Pro.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.