Skip to content

Commit

Permalink
add xaml source to webview2 page (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpulliam authored Oct 20, 2022
1 parent 88c8d29 commit 4d3d763
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WinUIGallery/ControlPages/WebView2Page.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,11 @@
<controls:WebView2 x:Name="MyWebView2" Source="https://microsoft.github.io/microsoft-ui-xaml/" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" MinHeight="200" MinWidth="200"/>
</Grid>
</local:ControlExample.Example>

<local:ControlExample.Xaml>
<x:String xml:space="preserve">
&lt;controls:WebView2 x:Name="MyWebView2" Source="https://microsoft.github.io/microsoft-ui-xaml/" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Row="1" MinHeight="200" MinWidth="200"/&gt;
</x:String>
</local:ControlExample.Xaml>
</local:ControlExample>
</Page>

0 comments on commit 4d3d763

Please sign in to comment.