Now, open your XAML control file and add a button control as shown below:
<Grid x:Name="LayoutRoot" Background="White">
<Button x:Name="btnSayHello" Content="Say Hello"
Go to the code behind file for the XAML Page and add the event handler for the button click event:
private void btnSayHello_Click(object sender, RoutedEventArgs e)
In order to use the HtmlPage class, you need to include the System.Windows.Browser
You can download a sample project for this tutorial.