我试图使标题栏模糊,笔者走访了this页面并添加如下所示的Windows 10 UWP模糊标题栏
CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar = true;
ApplicationViewTitleBar titleBar = ApplicationView.GetForCurrentView().TitleBar;
titleBar.ButtonBackgroundColor = Colors.Transparent;
titleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
代码,但显示的错误,我不知道如何解决这个