2
我編寫了一個WPF應用程序,當它打開並聚焦時,無論是否將光標懸停在底部邊緣(taskber是自動隱藏的)上,我都無法顯示任務欄應用程序被最大化或重新調整爲更小的尺寸。我必須手動點擊鍵盤上的「Window」開始按鈕才能顯示任務欄(當然也可以顯示開始菜單)。集中於應用程序時無法顯示任務欄
我在SO - Auto hide taskbar not appearing中發現了一個類似的問題 - 但在我的情況下,任務欄即使沒有最大化也不會顯示,並且我沒有覆蓋MINMAXINFO
記錄。應用程序主窗口的XAML是如此簡單:
<ribbon:RibbonWindow x:Class="MySoftware.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
Title="My Software" Icon="Images\myLogo.ico"
x:Name="MainWindow1" Background="#FFE8E8E8" WindowState="Maximized" WindowStyle="ThreeDBorderWindow">