This is a mirror of official site: http://jasper-net.blogspot.com/

#380 – The Frame Control Can Host Web Content

| Tuesday, September 6, 2011
001-snoopyvs.png?w=630&h=463

You can use the Frame control to host web content by setting its Source property to a valid URL.  Note that the control can also display standard web navigation controls.

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>

        <Frame Grid.Column="0" Source="http://en.wikipedia.org/wiki/Snoopy"
               NavigationUIVisibility="Visible"/>

        <Frame Grid.Column="1" Source="http://acepilots.com/wwi/ger_richthofen.html"
               NavigationUIVisibility="Visible"/>
    </Grid>


Read more: 2,000 Things You Should Know About WPF
QR: https://chart.googleapis.com/chart?chs=80x80&cht=qr&choe=UTF-8&chl=http://wpf.2000things.com/2011/09/06/380-the-frame-control-can-host-web-content/

Posted via email from Jasper-net

0 comments: