WPF Maximized Window bigger than screen

后端 未结 5 1531
情话喂你
情话喂你 2021-02-19 06:24

When creating a WPF window with AllowsTransparency=\"True\" WindowStyle=\"None\" and maximizing it via this.WindowState = WindowState.Maximized; the Wi

5条回答
  •  天涯浪人
    2021-02-19 07:08

    It seems a pretty common issue. It appears you'll have to bind your height and width to the actual height/width of the screen as stated in this StackOverflow post:

    Borderless window application takes up more space than my screen resolution.

    I hope that solves the issue you're facing.

提交回复
热议问题