Databases Reference
In-Depth Information
5.
Drag-and-drop the Web Browser control to the Design view of the
MainWindow.xaml page as shown in the following screenshot:
The MainWindow.xaml presents a tabbed and split pane, which
can display both the Design and XAML view of the design with
an additional control that can interchange the Design and XAML
views of the page.
Here is the XAML view of the design, which also shows two buttons and a textbox
added to the design:
<Window x:Class="WpfRep.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/
xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility
/2006" Height="266" Width="488">
<StackPanel Height="217" Width="374">
<StackPanel Orientation="Horizontal">
<TextBox x:Name="addressTextBox" Width="300" />
<Button Click="goNavigateButton_Click">Go</Button>
<Button Content="Back" Height="23" Name="button1" Width="75"
Click="button1_Click" />
 
Search WWH ::




Custom Search