I've been googling for the schema file that describes WPF elements for XAML but cannot find it. The namespace declaration should has a list of all WPF features, for example types, attributes, or elements that it adds to standard XAML.
I can find the schema file for XAML in Visual Studo cache directory. The file is called xaml2006.xsd. There is a wpfe.xsd, but its target namespace is http://schemas.microsoft.com/client/2007.
This may sound trivial, but I've spend hours to find this schema file. Where can I found a schema file (XSD file) with targetNamespace set to "http://schemas.microsoft.com/winfx/2006/xaml/presentation"? If it is hidden inside DLL file, then perhaps there is an open source resource that host this schema file?
Little late, hope this tutorial will be helpful who search for this : First NS you mentioned is the default namespace. and it doesn't exist in that URL provided, but its a unique name , etc.
http://video.ch9.ms/ch9/ff6f/e1477e72-b989-49c1-acdd-62802c36ff6f/ABSWP81Part3_mid.mp4 Skip to 14.00
He says basically to use 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"
?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With