-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
If I want to maximize the application on a second monitor. It maximizes but switches to my primary monitor. Here is the method I used to maximize:
/// Maximizes Window
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void WindowMaximize_Click(object sender, MouseButtonEventArgs e)
{
this.Width = System.Windows.SystemParameters.WorkArea.Width;
this.Height = System.Windows.SystemParameters.WorkArea.Height;
this.Top = System.Windows.SystemParameters.WorkArea.Top;
this.Left = System.Windows.SystemParameters.WorkArea.Left;
}
If I just do:
this.WindowState = WindowState.Maximize;
It will cover the taskbar too.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed