In C# Window Application: In Case of on multi-monitor setup, the max window size properties of the original monitor are kept when moving the application window to a different monitor. If the other monitor is set to a larger resolution RRS feed

  • Question

  • Using C# Window Application:

    Means i have two machine on first machine i have C# window application that is running and now if i took my machine on Remote Desktop  from Second Computer System Machine which have different resolution then C# window application Max window size remain as per first machine resolution settings while it should reload according to the second RDP machine resolution settings.

    Thursday, August 20, 2015 2:02 PM


  • Hi

    Since you don’t provide some code snippet of your application. But depending on your description. I find some similar topic may help.

    1. Maybe you refer a wrong property. You can see that the primary and second primary had different size properties.
    2. If you want to maxsize the window, you can use the method in the following thread.  http://stackoverflow.com/questions/10701998/wpf-window-size-have-monitor-size

    I also find some hardware related problems on that kind of problem. It is worth trying if you could not resolve your problem with the above method.


    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites;Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, August 21, 2015 6:31 AM