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.
精彩评论