开发者

Do Metro controls reuse the same codepath at low level even if controls are created from HTML/JS or XAML?

Suppose I create two metro apps,

one 开发者_运维知识库with an HTML view which has

<input type="text"/>

another with a XAML based view

<TextBox/>

Does the underylying implementation map to the same code to render both controls? Will they have 100% identical behaviour?


No. The Xaml rendering stack is separate from the HTML rendering stack. Now if you go low enough, they use the same code path - for instance both the HTML rendering stack and the Xaml rendering stack are rendered through the same display driver logic. But the core rendering is separate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜