0

我正在尝试使用以下帧标记在 Windows 8 XAML 中打开网页。

<Frame
Source="http://medievaltvg.freeoda.com/"

/>

我从 Visual Studio 收到以下错误:

Unknown member 'Source' on element 'Frame.'
4

1 回答 1

0

Source编译器告诉您,-control上没有成员Frame。这不是Windows.UI.Xaml.Frame目的。

来自MSDN

You use the Frame control to support navigation to Page controls. You create
as many different pages as needed to present the content in your application
and then navigate to those pages from the frame. To navigate from the frame, 
you call the Navigate method and pass in the type of the page to navigate to. 
You can also pass in a parameter object to initialize the page to a particular state.

您正在寻找的是WebView-Control。

于 2013-04-22T13:29:39.887 回答