-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Learn WinUI 3.0
By :

The WebViewCompatible browser control in the WCT will render web pages in the legacy Edge browser in Windows 10 and in an Internet Explorer (IE)-compatible browser in earlier versions of Windows. As an example, if you are building a WPF or WinForms application on .NET Framework, you can deploy to Windows 7 with this browser control and continue to render web pages in the browser control. Keep in mind that many modern websites have compatibility issues with IE.
Now, let's add a pop-up browser window to the WPF project. For this, we're going to modify the WpfMaps project and add a Get Great Wall Info button to the button bar at the top of the main window. This will launch another window with a browser that will display the Wikipedia page for the Great Wall of China:
StackPanel
in MainWindow.xaml
:<Button x:Name="wallInfoButton" Margin="4" ...