Maximize bug
CodingTarik opened this issue · 1 comments
CodingTarik commented
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.
CodingTarik commented
fixed