2017-05-23 14 views
-1

は、私はこれを試してみましたフルスクリーンウィンドウを作成するには:WPFフルスクリーンタスクバーappearence

WindowState="Maximized" WindowStyle="None" ResizeMode="NoResize" Topmost="True" 

それが正常に動作しますが、私はウィンドウで何かをいくつかの時間(多分数時間)後に(例えばボタンをクリックしてください)タスクバー現れ、それは隠れていない。タスクバーを表示させないようにするには?

答えて

0

あなたがMahAppsを使用する必要があり、この

<Window ShowTitleBar="False" IgnoreTaskbarOnMaximize="True"> 

IgnoreTaskbarOnMaximizeを使用するには、この参照してみてください:mahApps

それとも

WindowStyle="None" 
ResizeMode="NoResize" 

this.Width = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width; 
this.Height = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height; 
this.Left = 0; 
this.Top = 0; 
this.WindowState = WindowState.Normal; 

referenをce:WPF fullscreen

幸運!