Trong mỗi cửa sổ WPF mặc định như dưới đây, có bốn không gian tên được tham chiếu. tôi biết:Nơi tìm không gian tên XAML d = "http://schemas.microsoft.com/expression/blend/2008" thư viện lập bản đồ?
xmlns = "http://schemas.microsoft.com/winfx/2006/xaml/presentation"
và
xmlns: x = "http : //schemas.microsoft.com/winfx/2006/xaml "
là thư viện bản đồ PresentationCore.dll và PresentationFramework.dll. Nhưng nơi tôi có thể tìm thấy không gian tên tập tin thư viện bản đồ
xmlns: d = "http://schemas.microsoft.com/expression/blend/2008"
và
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 - hãy kiểm tra điều này - Nó nói rằng biểu thức/blend/2008 chỉ được sử dụng trong trình thiết kế và bị bỏ qua trong thời gian chạy. (Điều này có nghĩa là không có bản đồ?) – LukeP
Tôi cũng muốn biết điều này. Tôi đang cố gắng sử dụng một UserControl, tạo ra trong Visual Studio, trong PowerShell và tôi nhận được một lỗi về không gian tên này. – Simon
Kiểm tra câu trả lời của tôi ở đây .. [http://stackoverflow.com/questions/25508755/http-schemas-microsoft-com-winfx-2006-xaml-presentation-definition/34635758#34635758][1] – Moumit