Skip to content

A window cannot go full screen properly across multiple screens #665

Open

Description

@huangbaohua11

Here is my code. I want a window to be full screen across multiple screens, but I found that when I use the following screen arrangement and scaling, it doesn't work correctly。
Image

    public MainWindow()
    {
        InitializeComponent();
       
        Width = SystemParameters.VirtualScreenWidth;
        Height = SystemParameters.VirtualScreenHeight;
        Left = SystemParameters.VirtualScreenLeft;
        Top = SystemParameters.VirtualScreenTop;
        Console.WriteLine($"Left:{Left},Top:{Top},Width:{Width},Height:{Height}");
    }

Image

My project has PerMonitorV2 DPI awareness enabled and My project use .netframework 4.8.

Activity

  1. changed the title [-]window can not display fullscreen on multiscreen[/-] [+]A window cannot go full screen properly across multiple screens[/+] on Oct 15, 2024
  2. huangbaohua11 commented on Oct 17, 2024

    @huangbaohua11
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions