Does Metro can use Javascript to call C# component for GUI RRS feed

  • Question

  • Hi, All

       Does Metro supports Js call C# component's GUI and render in HTML, if can and could you please tell me how to do, thanks.

    Thursday, November 29, 2012 9:02 AM


  • No, sharing UI and drawing surfaces between JavaScript/HTML and a WinRT component (in any language) is not supported. an HTML/JS app uses HTML/CSS for the presentation layer. The only exception are those pieces of overlay UI that are directly supplied by WinRT APIs, such as the File Picker, Contact Picker, Credential Picker, and message dialog.


    • Marked as answer by Song Tian Thursday, December 6, 2012 9:07 AM
    Thursday, November 29, 2012 4:06 PM