【问题标题】:Bind html content to Webview in FlipView Control in Windows Phone 8.1 C# WinRT在 Windows Phone 8.1 C# WinRT 中的 FlipView 控件中将 html 内容绑定到 Webview
【发布时间】:2015-11-19 05:12:48
【问题描述】:

我有一组记录,其中一个属性包含需要在 Flipview 控件中显示的 html 内容,该控件加载带有 html 内容的 webview。

如何将 html 字符串绑定或设置到 WebView 控件。 WebView 有 NavigateToString 方法,但在 Flipview 中,如何为每个项目调用它。

【问题讨论】:

    标签: c# xaml webview windows-runtime windows-phone-8.1


    【解决方案1】:

    您可以尝试将 WebView Source 属性绑定到绑定到 FlipView 的集合中的项目的属性

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-04-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-13
      • 1970-01-01
      相关资源
      最近更新 更多