0

次のフレーム タグを使用して、Windows 8 XAML で Web ページを開こうとしています。

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

/>

Visual Studio から次のエラーが表示されます。

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

1 に答える 1

0

Sourceコンパイラーは、Frame-controlにメンバーがないことを通知します。これは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 に答える