http://schemas.microsoft.com/winfx/2006/xaml/presentation的架构文件的位置在哪里?

Dav*_*wer 6 .net wpf xaml

我一直在谷歌搜索描述XAML的WPF元素但无法找到它的模式文件.名称空间声明应该包含所有WPF功能的列表,例如它添加到标准XAML的类型,属性或元素.

我可以在Visual Studo缓存目录中找到XAML的模式文件.该文件名为xaml2006.xsd.有一个wpfe.xsd,但它的目标命名空间是http://schemas.microsoft.com/client/2007.

这可能听起来微不足道,但我花了好几个小时才找到这个模式文件.我在哪里可以找到targetNamespace设置为" http://schemas.microsoft.com/winfx/2006/xaml/presentation " 的模式文件(XSD文件)?如果它隐藏在DLL文件中,那么可能有一个托管这个模式文件的开源资源?

Rig*_*gin 3

有点晚了,希望本教程对搜索此内容的人有所帮助:您提到的第一个 NS 是默认名称空间。它不存在于提供的 URL 中,但它有一个唯一的名称等。

http://video.ch9.ms/ch9/ff6f/e1477e72-b989-49c1-acdd-62802c36ff6f/ABSWP81Part3_mid.mp4跳到 14.00

他说基本上要使用http://schemas.microsoft.com/winfx/2006/xaml

<Page 
    x:Class="HelloWorld.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:HelloWorld"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
?>
Run Code Online (Sandbox Code Playgroud)

  • 2009年呢? (2认同)