在windows phone项目中不支持VideoBrush

本文关键字:不支持 VideoBrush 项目 windows phone | 更新日期: 2023-09-27 18:17:57

我正在使用VS2013编写一个windows手机摄像头应用程序。

在xaml文件中,错误提示未找到。

有人知道我需要添加什么汇编参考吗?

我的参考文献是

  1. 。. NET for Windows Store Apps
  2. 微软。手机
  3. Microsoft.Xna.Framework
  4. PresentationCore
  5. PresentationFramework
  6. Windows Phone 8.1

我使用的命名空间是:

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
using Microsoft.Devices;
using Microsoft.Xna.Framework.Media;

谢谢!

在windows phone项目中不支持VideoBrush

我想:

你应该使用CaptureElement控件:http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.controls.captureelement.aspx

:不能使用videoBrush windows phone 8.1。Visual studio 2013没有't see System.Windows.Media