When initializing the window display full screen and taskbar wpf

void IniWindowFullScreemAndDisplayTaskbar()
{
this.Width = SystemParameters.FullPrimaryScreenWidth;
this.Height = SystemParameters.FullPrimaryScreenHeight + 22;
this.Left = 0;
this.Top = 0;
this.WindowState = WindowState.Normal;
}

Guess you like

Origin www.cnblogs.com/Zhang9823/p/11926852.html