Ich habe 3 WebView
jeweils in einem PivotItem
in einem RelativePanel
wie folgt aus:UWP WebView in RelativePanel nicht angezeigt Webseite
<RelativePanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Pivot Name="pivot"
RelativePanel.AlignTopWithPanel="True"
RelativePanel.AlignLeftWithPanel="True"
RelativePanel.AlignRightWithPanel="True">
<PivotItem Header="Slack LiveTile">
<WebView Name="webView_001" />
</PivotItem>
<PivotItem Header="Slack RDV Tech">
<WebView Name="webView_002" />
</PivotItem>
<PivotItem Header="WhatsApp">
<WebView Name="webView_003" />
</PivotItem>
</Pivot>
<CommandBar
RelativePanel.AlignBottomWithPanel="True"
RelativePanel.AlignLeftWithPanel="True"
RelativePanel.AlignRightWithPanel="True" />
</RelativePanel>
Mein Problem ist, dass der WebView Inhalt nicht angezeigt wird, und ich verstehe nicht, warum. Bevor ich eine RelativePanel
benutzte, benutzte ich eine Grid
und es funktionierte gut.
Können Sie erklären, warum es nicht funktioniert?
Vielen Dank für Ihre Hilfe.
Vielen Dank! Ich habe 'RelativePanel.Above =" commandBar "' hinzugefügt, um bis zum oberen Rand der 'CommandBar' zu reichen. –