In Scenario 1, when writing subway applications, you no longer use the .Net XAML implementation, the System.Windows.Controls namespace, instead you use the XAML controls from Windows.UI.Xaml.Controls.
The implementation of XAML in the new namespace is now part of WinRT, so it is unmanageable. When you use these controls in a .Net metro application, you are actually using Runtime Callable Wrappers for these WinRT controls.
When you are XAML in an unmanaged C ++ metro application, you use unused WinRT controls, so yes, they are compiled into native code, but there is no translation from .Net to native code.
source share