Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 219
Pradeep Avatar asked Oct 03 '11 16:10

Pradeep


1 Answers

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.

like image 177
ReinstateMonica Larry Osterman Avatar answered Sep 20 '22 11:09

ReinstateMonica Larry Osterman