在下面的每個默認WPF窗口中,有四個名稱空間被引用。 我知道:哪裏可以找到XAML命名空間d =「http://schemas.microsoft.com/expression/blend/2008」映射庫?
的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>
http://msdn.microsoft.com/en-us/library/cc189061%28v=vs.95%29.aspx - 檢查一下 - 它表示/ blend/2008僅用於設計器中並在運行時被忽略。 (這將意味着沒有映射?) – LukeP
我也想知道這一點。我正嘗試在PowerShell中使用在Visual Studio中創建的UserControl,並且發現有關此命名空間的錯誤。 – Simon
檢查我的答案在這裏.. [http://stackoverflow.com/questions/25508755/http-schemas-microsoft-com-winfx-2006-xaml-presentation-definition/34635758#34635758][1] – Moumit