WebView
The WebView
control is what is traditionally called a web browser control. It hosts HTML content, either from a URL or a string containing HTML, using the same rendering engine and JavaScript engine as Internet Explorer. Figure 14.26 shows the following Page
filled with a WebView
whose Source
(of type System.Uri
) is set to http://bing.com:
<Page ...> <WebView Name="webView" Source="http://bing.com"/> </Page>
In this case, the result only applies to a PC, because navigating to bing.com on a phone automatically redirects to the local Cortana app.
In addition ...
Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.