XAML namespaces: winfx vs netfx
When looking at the documentation for WPF (eg for Selector.SelectedItem
), I noticed that there are two XML naspaces: http://schemas.microsoft.com/winfx/2006/xaml/presentation and http://schemas.microsoft.com/netfx/2007/xaml/presentation.
What's the difference between the two, if any? Why are there two different namespaces that seem to point to the same group of .Net namespaces (do they really?)?
(guessing the answer)
the first version of WPF was called WinFX and was probably a separated project in MS organisation.
When WinFX joined the .Net Framework, MS has probably wished to keep the namespaces defines earlier for compatibility with existing work. Later, new classes have been added, and MS decided to use a properly named namespace (NetFX is .Net Framework).
链接地址: http://www.djcxy.com/p/34486.html上一篇: wpf silverlight多