在哪里可以找到System.Windows.UIElement类

fra*_*nri 2 c#

我正在搜索引用,System.Windows.UIElement但我在.NET环境中找不到它.我需要使用类型或名称UIElement.你有好主意吗?

M4N*_*M4N 5

如果您搜索MSDN,UIElement您将在此页面上找到以下信息:

  • class UIElementSystem.Windows命名空间中,因此您必须使用System.Windows.UIElement或添加using System.Windows指令
  • UIElementPresentationCore程序集中,所以你必须添加一个引用PresentationCore.dll
  • UIElement 在.NET 3.0及更高版本中可用