English 中文(简体)
WinRT和WPF,Windows 8
原标题:WinRT and WPF in Windows 8

据我所知,WinRT是一份不同版本的WPF文件,没有使用根基的Win32 标语。

WinRT和WPF的关系是什么? 世界森林论坛是否在视窗7的计量下工作,或是否会启用传统的桌面?

That s not so clear from the Keynote. If someone has Windows 8 installed can confirm it s behaviour.

增 编

问题回答

WinRT is a replacement for the Winapi. The api is native, very unlike WPF that runs as a layer on top of the CLR. It certainly resembles WPF, part of what causes confusion. It adopted the metadata format of managed code, replacing type libraries of old. And uses XAML for UI designs, much like WPF, Silverlight and Windows Phone. You can still write WPF apps for Windows 8 but your app can t be published through the store, won t integrate with the Metro desktop nor will it run on tablets that are based on the ARM core. Whether that s a real problem depends a great deal on how well Metro will do in the market place.

WPF和WinRT之间没有关系,就像银灯和WPF之间没有关系一样。 现在我们有三个技术,即世界森林论坛、银星和温RT。

If you try to execute WPF application, it will not execute on Metro, it will execute in the classical desktop only.

在2011年视觉演播室,你有两种不同类型的申请,而WPF和WinRT的Xaml则不一样,WinRT的Xaml与WPF在WinRT图书馆缺少的课堂一样,与银星一样。 但是,在WinRT可提供银灯的大部分课程。

Windows Runtime (WinRT) is an alternative API used to create Metro Applications (and later server application).

预报器是按级/方法/构造的,表面上为......。 Net metro apps, html5/css3/javascript apps and C/C++ metro submissions.

执行是本土的。

APIs are made visible via .winmd files, which contain metadata very similar to the metadata you have in .Net assemblies.

The APIs are designed to secure and async friendly with many APIs requiring the use of async/await due to them potentially taking more than 50msec to execute.

该表包括温32号标本和COM皮。

Anyway... the followings links help... channel9 also has some //Build/ videos on the subject..

Metro style app development - http://msdn.microsoft.com/en-us/windows/apps/

Win32 and COM for Metro style apps - http://msdn.microsoft.com/en-us/library/windows/apps/br205757(v=VS.85).aspx

APIs for Metro style apps - http://msdn.microsoft.com/en-us/library/windows/apps/br211369(v=VS.85).aspx

WinRT是一个新图书馆,可以使用XAML,但不是WPF。

计生联主要使用直观X。

你们可以使用WinRT:

  • XAML
    • C#
    • C++
    • VB.NET
  • HTML/JS/CSS

WinRT是一种基于COM接口的非管理型APIC。 您通过在Winmd的元数据文档(WindowsSystem32WinMedataData目录)中点击 objects。

所有名称空间都从“Windows”开始。

You can write your Windows 8 application by using XAML files, but that s the only common point with WPF.





相关问题
WPF convert 2d mouse click into 3d space

I have several geometry meshes in my Viewport3D, these have bounds of (w:1800, h:500, d:25). When a user clicks in the middle of the mesh, I want the Point3D of (900, 500, 25)... How can I achieve ...

Editing a xaml icons or images

Is it possible to edit a xaml icons or images in the expression design or using other tools? Is it possible to import a xaml images (that e.g you have exported) in the expression designer for editing?...

WPF: writing smoke tests using ViewModels

I am considering to write smoke tests for our WPF application. The question that I am faced is: should we use UI automation( or some other technology that creates a UI script), or is it good enough to ...

WPF - MVVM - NHibernate Validation

Im facing a bit of an issue when trying to validate a decimal property on domain object which is bound to a textbox on the view through the viewmodel. I am using NHibernate to decorate my property on ...

How do WPF Markup Extensions raise compile errors?

Certain markup extensions raise compile errors. For example StaticExtension (x:Static) raises a compile error if the referenced class cannot be found. Anyone know the mechanism for this? Is it baked ...

WPF design-time context menu

I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签