我試圖使標題欄模糊,筆者走訪了this頁面並添加如下所示的Windows 10 UWP模糊標題欄
CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;
ApplicationViewTitleBar titleBar = ApplicationView.GetForCurrentView().TitleBar;
titleBar.ButtonBackgroundColor = Colors.Transparent;
titleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
代碼,但顯示的錯誤,我不知道如何解決這個