Programming wpf xaml vs windows rt with c# and xaml

眉间皱痕 提交于 2020-01-05 15:15:07

问题


Ok. I know wpf and am learning programming windows runtime via c# and xaml. Both use xaml that have the same namespace. Win rt is new and has the same namespace declared at the root element.

What are the similarities and differences.


回答1:


Here are some of the differences between WPF and WinRT:

  1. Different XML namespace declaration in XAML code (Instead of using a clr-namespace:/assembly= qualifier set for code-to-XAML namespace references, you use the using: qualifier. XAML namespaces no longer reference specific assemblies)

  2. Missing Expression SDK in WPF

  3. Missing Property-/DataTriggers in WPF

  4. Reduced BindingMode enum

  5. Missing Multi/Priority Binding in WPF

  6. Missing RoutedCommands in WPF

  7. Missing InputBindings in WPF

  8. DependencyProperty value calculation goes without coercion and validation

There are lot more differences. You can check this link to know further.



来源:https://stackoverflow.com/questions/28675287/programming-wpf-xaml-vs-windows-rt-with-c-sharp-and-xaml

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!