By default the only way to set html in WebBrowser is to call a NavigateToString. This behavior wraps this call and allows you to bind to a dependency property. 

<phone:WebBrowser HorizontalAlignment="Stretch" Margin="12,171,0,0" Name="webBrowser1" VerticalAlignment="Top" Height="180">
      <interactivity:Interaction.Behaviors>
            <mspBehaviors:WebBrowserHtmlPropertyBehavior Html="&lt;a href=&#34;http://bing.com&#34;> BING&lt;/a>"/>
      </interactivity:Interaction.Behaviors>
</phone:WebBrowser>

Last edited Jul 25, 2012 at 9:29 AM by kazarindn, version 1

Comments

No comments yet.