以下 XML 命名空间引用包含在每个新 Xaml 文件的顶部。
//http://schemas.microsoft.com/winfx/xaml/presentation
//http://schemas.microsoft.com/winfx/xaml
winfx /xaml/presentation包含对一系列 Windows 命名空间的引用,例如 Windows.Navigation、Windows.Controls 等。winfx/xaml 命名空间始终(通常默认情况下)具有x别名或前缀。winfx/xaml 引用了什么它似乎有很多可以从 winfx/xaml/presentation 引用的相同元素。我已阅读 MSDN 文档,可以找到与 winfx/xaml/presentation 关联的程序集列表,但我不确定 winfx/xaml 命名空间的意义何在。
谁能解释一下?
编辑:就像我最初所说的那样,我已经阅读了 MSDN 文档,并且正在寻找更详细的答案。示例为什么某些元素可以互换使用。