0
내 메트로 앱에서 설정 패널을 만들고 싶습니다. 왜 내 웹보기가 메트로 앱의 팝업을 덮었습니까?
는이 같은 웹보기로 메인 페이지를 추가 :<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Class="App.MainPage"
mc:Ignorable="d">
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<WebView x:Name="MainWebView"/>
</Grid>
내 popip 창을
_settingsPopup = new Popup();
_settingsPopup.Closed += OnPopupClosed;
Window.Current.Activated += OnWindowActivated;
_settingsPopup.IsLightDismissEnabled = true;
_settingsPopup.Width = _settingsWidth;
_settingsPopup.Height = _windowBounds.Height;
SettingsPanel mypane = new SettingsPanel();
mypane.Width = _settingsWidth;
mypane.Height = _windowBounds.Height;
_settingsPopup.Child = mypane;
_settingsPopup.SetValue(Canvas.LeftProperty, _windowBounds.Width - _settingsWidth);
_settingsPopup.SetValue(Canvas.TopProperty, 0);
_settingsPopup.IsOpen = true;
를 표시하려면이 코드를 사용하지만, 마지막으로 팝업이 될 수 없다 표시되고 내가 숨길 수있는 webview를 설정할 때, 나는 webview 뒤에 팝업을 발견했다.
zindex 또는 sth와 같이 zindex를 설정하는 기능이나 속성을 찾을 수 없으므로 팝업을 앞쪽으로 가져갈 수 있습니다.
어떻게 수정할 수 있습니까?