【发布时间】:2012-09-03 02:10:18
【问题描述】:
在下面的每个默认 WPF 窗口中,都引用了四个命名空间。 我知道:
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
和
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
是映射库PresentationCore.dll 和PresentationFramework.dll。但是我在哪里可以找到映射命名空间的库文件
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
和
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
?
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="MainWindow" Height="350" Width="525">
<Grid>
</Grid>
</Window>
【问题讨论】:
-
msdn.microsoft.com/en-us/library/cc189061%28v=vs.95%29.aspx - 看看这个 - 它说表达式/blend/2008 仅在设计器中使用并且在运行时被忽略。 (这意味着没有映射?)
-
在这里查看我的答案.. [stackoverflow.com/questions/25508755/…
标签: wpf xaml namespaces mapping xml-namespaces